Skip to content

Conversation

@DougGregor
Copy link
Member

Introduce some lookahead to make sure we actually have something that looks like an accessor block when the { is on the next line, matching what the C++ parser does.

Fixes swiftlang/swift#76089

…ccessor block

Introduce some lookahead to make sure we actually have something that
looks like an accessor block when the `{` is on the next line, matching what
the C++ parser does.

Fixes swiftlang/swift#76089
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit 92b9fa1 into swiftlang:main Aug 27, 2024
@DougGregor DougGregor deleted the accessor-lookahead branch August 27, 2024 03:51
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: new Swift parser generated errors for code that C++ parser accepted

2 participants