Skip to content

Fix: .- and .+ before numeric literals#76

Merged
c42f merged 1 commit intomainfrom
cjf/fix-dotted-unary-parsing
Aug 25, 2022
Merged

Fix: .- and .+ before numeric literals#76
c42f merged 1 commit intomainfrom
cjf/fix-dotted-unary-parsing

Conversation

@c42f
Copy link
Copy Markdown
Member

@c42f c42f commented Aug 25, 2022

-2 is numeric literal -2, but ensure .-2 should be (call .- 2)

Fixes #63

-2 is numeric literal -2, but ensure .-2 is (call .- 2)
@c42f c42f merged commit 6a3a6f4 into main Aug 25, 2022
@c42f c42f deleted the cjf/fix-dotted-unary-parsing branch August 25, 2022 07:35
c42f added a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
-2 is numeric literal -2, but ensure .-2 is (call .- 2)
topolarity pushed a commit to JuliaLang/julia that referenced this pull request Nov 14, 2025
-2 is numeric literal -2, but ensure .-2 is (call .- 2)
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.

Dotted unary op with number literal fails to parse to SyntaxNode

2 participants