Skip to content

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