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

Fix Nuke parse failures #205

Merged
merged 2 commits into from
Aug 7, 2022
Merged

Fix Nuke parse failures #205

merged 2 commits into from
Aug 7, 2022

Conversation

alex-pinkus
Copy link
Owner

  • Add support for existential types (any Something) -- these were defined in SE-0335 but don't appear to have made it into the official grammar yet.
  • Fix placement of lambdas in annotations -- we were erroneously assigning those to parameters or capture clauses but in fact they only belong to the closure itself.

New to Swift 5.6, defined in SE-0335.

This doesn't properly handle `any P & Q`; it applies the `any` to just
`P`. This is probably an existing bug that also applies to the opaque
`some P & Q` and is something we should fix separately.
@alex-pinkus alex-pinkus merged commit 37efba0 into main Aug 7, 2022
@alex-pinkus alex-pinkus deleted the fix-nuke-parse-failures branch August 7, 2022 19:19
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.

1 participant