Skip to content

[AST] Fix assertion hit in AutoClosureExpr::getUnwrappedCurryThunkExpr() #31352

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

Conversation

nathawes
Copy link
Contributor

For DoubleCurryThunk cases it’s expecting an ApplyExpr directly within the OpenExistentialExpr, but in some cases it contains an ErasureExpr (implicit conversion) that wraps the ApplyExpr. This updates the method to look through implicit conversions.

Resolves rdar://problem/61885996

For DoubleCurryThunk cases it’s expecting an ApplyExpr directly within the
OpenExistentialExpr, but in some cases it contains an ErasureExpr (implicit
conversion) that wraps the ApplyExpr. This updates the method to look
through implicit conversions.

Resolves rdar://problem/61885996
@nathawes nathawes requested a review from slavapestov April 27, 2020 23:25
@nathawes
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

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

Thanks!

@nathawes
Copy link
Contributor Author

@swift-ci please test

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.

2 participants