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 in-out grammar underproduction #199

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

amartini51
Copy link
Member

@amartini51 amartini51 commented Oct 19, 2023

The old grammar didn't allow things like f(&x.y) which are legal in Swift. The new grammar allows a bunch of stuff -- literals, closures, and conditional expressions -- but that's a better problem to have.

See also #194, where we're discussing a more specific fix.

Fixes: #193 (partially)

The old grammar didn't allow things like f(&x.y) which are legal in
Swift.  The new grammar allows a bunch of stuff -- literals, closures,
and conditional expressions -- but that's a better problem to have.

See also this PR, where we're discussing a more specific fix:

    swiftlang#194
@amartini51 amartini51 changed the title Change grammar underproduction to overproduction. Fix in-out grammar underproduction Oct 19, 2023
@amartini51 amartini51 merged commit 0d241bd into swiftlang:main Oct 20, 2023
@amartini51 amartini51 deleted the inout_expression_quickfix_193 branch October 20, 2023 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.

Error in grammar regarding in-out-expression
2 participants