Skip to content

Improve trivia attachment for ) in parse_brackets#34

Merged
c42f merged 2 commits intomainfrom
cjf/bracket-trivia-attachment
Jul 1, 2022
Merged

Improve trivia attachment for ) in parse_brackets#34
c42f merged 2 commits intomainfrom
cjf/bracket-trivia-attachment

Conversation

@c42f
Copy link
Copy Markdown
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
c42f added a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
…cket-trivia-attachment

Improve trivia attachment for `)` in parse_brackets
topolarity pushed a commit to JuliaLang/julia that referenced this pull request Nov 14, 2025
…cket-trivia-attachment

Improve trivia attachment for `)` in parse_brackets
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