Skip to content

Improve trivia attachment for ) in parse_brackets #34

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 2 commits into from
Jul 1, 2022

Conversation

c42f
Copy link
Member

@c42f c42f commented Jul 1, 2022

The ) was attached to the parameters expression, but should be attached to node along with the opening ( instead.

Also avoid a duplicate diagnostic messages for closing brackets

c42f added 2 commits July 1, 2022 17:30
The `)` was attached to the `parameters` expression, but should be
attached to node along with the opening `(` instead.
This error condition is checked and reported as part of bump_closing_token.
@c42f c42f merged commit 320b036 into main Jul 1, 2022
@c42f c42f deleted the cjf/bracket-trivia-attachment branch July 1, 2022 21:05
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