Skip to content

[Parse] Try to preserve the invariant that anything that contains KeyPathDotExpr must be wrapped in KeyPathExpr #29975

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
merged 1 commit into from
Feb 21, 2020

Conversation

akyrtzi
Copy link
Contributor

@akyrtzi akyrtzi commented Feb 20, 2020

Even in the presence of invalid code. Fixes typechecker crash in rdar://50666427

…PathDotExpr must be wrapped in KeyPathExpr

Even in the presence of invalid code. Fixes typechecker crash in rdar://50666427
@akyrtzi
Copy link
Contributor Author

akyrtzi commented Feb 20, 2020

@swift-ci smoke test

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

Thank you!

@akyrtzi akyrtzi merged commit d082e90 into swiftlang:master Feb 21, 2020
@akyrtzi akyrtzi deleted the fix-invalid-keypath-expr-crash branch February 21, 2020 01:23
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