Skip to content

Fix parser crash for empty tuple parsing in parse_function#75

Merged
c42f merged 1 commit intomainfrom
cjf/peek-behind-fix
Aug 25, 2022
Merged

Fix parser crash for empty tuple parsing in parse_function#75
c42f merged 1 commit intomainfrom
cjf/peek-behind-fix

Conversation

@c42f
Copy link
Copy Markdown
Member

@c42f c42f commented Aug 25, 2022

This won't be valid syntax during lowering, but the parser shouldn't
throw.

Also a little cleanup to clarify variable naming while we're here.

Fixes #53

This won't be valid syntax during lowering, but the parser shouldn't
throw.

Also a little cleanup to clarify variable naming while we're here.
@c42f c42f merged commit c61a638 into main Aug 25, 2022
@c42f c42f deleted the cjf/peek-behind-fix branch August 25, 2022 09:54
c42f added a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
…/JuliaSyntax.jl#75)

This won't be valid syntax during lowering, but the parser shouldn't
throw.

Also a little cleanup to clarify variable naming while we're here.
topolarity pushed a commit to JuliaLang/julia that referenced this pull request Nov 14, 2025
…/JuliaSyntax.jl#75)

This won't be valid syntax during lowering, but the parser shouldn't
throw.

Also a little cleanup to clarify variable naming while we're here.
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.

Peek behind failure in parse_function

2 participants