Skip to content

[cast-opt] Fix obvious bug. #23070

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

Merged

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Mar 4, 2019

Found via inspection. The code is supposed to check if either the source or the
target is NSError and in such a case bail.

Found via inspection. The code is supposed to check if either the source or the
target is NSError and in such a case bail.
@gottesmm gottesmm requested a review from eeckstein March 4, 2019 19:08
@gottesmm
Copy link
Contributor Author

gottesmm commented Mar 4, 2019

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

gottesmm commented Mar 4, 2019

@swift-ci smoke test linux platform

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.
Is it possible to create a test case for this?

@gottesmm
Copy link
Contributor Author

gottesmm commented Mar 5, 2019

Hmmm... let me see what I can come up with. I thought it was going to be hard to do, but I might be able to get something now that I think about it.

@gottesmm gottesmm closed this Apr 11, 2019
@gottesmm gottesmm deleted the pr-593fd7aed5142c9e2b0b2f18bf47074e65a04005 branch April 11, 2019 00:17
@gottesmm gottesmm restored the pr-593fd7aed5142c9e2b0b2f18bf47074e65a04005 branch April 11, 2019 00:18
@gottesmm
Copy link
Contributor Author

Just cleaning up my branches

@gottesmm gottesmm reopened this Apr 11, 2019
@CodaFi
Copy link
Contributor

CodaFi commented Nov 14, 2019

@gottesmm Should this still be open?

@gottesmm
Copy link
Contributor Author

I am going to retest/merge this. I couldn't come up with a test case at the time that actually caused this (it may not be possible since I think other conditions in other places would stop us from hitting the problem). My memory is that the code actively clashed with the comments/patterns.

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@CodaFi
Copy link
Contributor

CodaFi commented Nov 16, 2019

⛵️

@CodaFi CodaFi merged commit 9732f81 into swiftlang:master Nov 16, 2019
@gottesmm gottesmm deleted the pr-593fd7aed5142c9e2b0b2f18bf47074e65a04005 branch July 23, 2021 21:50
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.

3 participants