Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't attempt a value conversion without a valid conversion pair #4705

Merged

Conversation

CodaFi
Copy link
Member

@CodaFi CodaFi commented Sep 10, 2016

Previously this would crash when invalid tuple conversions were encountered in the middle of collection upcasts because we were trying to convert with NULL Expr nodes.

Resolves SR-2585 and rdar://problem/28207648.

@CodaFi
Copy link
Member Author

CodaFi commented Sep 10, 2016

@swift-ci please smoke test.

Previously this would crash when invalid tuple conversions were
encountered because we would try to convert NULL Expr nodes.
@CodaFi CodaFi force-pushed the you-cant-have-a-con-version-without-the-confidence branch from bfba8c6 to ff2289d Compare September 12, 2016 15:27
@CodaFi
Copy link
Member Author

CodaFi commented Sep 12, 2016

@swift-ci please smoke test and merge.

@CodaFi
Copy link
Member Author

CodaFi commented Sep 12, 2016

Dictionary test seems to fail for everybody? // @gribozavr

@gribozavr
Copy link
Collaborator

@CodaFi Does not seem to fail on master.

@CodaFi
Copy link
Member Author

CodaFi commented Sep 12, 2016

I think Harlan's pull request failed the same test, but nevertheless let's see what happens now

@swift-ci please smoke test Linux platform.

@CodaFi
Copy link
Member Author

CodaFi commented Sep 12, 2016

@swift-ci please smoke test Linux platform.

@CodaFi
Copy link
Member Author

CodaFi commented Sep 13, 2016

That's better

@CodaFi CodaFi merged commit 38116d4 into apple:master Sep 13, 2016
@CodaFi CodaFi deleted the you-cant-have-a-con-version-without-the-confidence branch September 13, 2016 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants