mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Fix pnc apply in unary negate
This commit is contained in:
parent
05033ac40b
commit
2bd03ef16b
5 changed files with 46 additions and 6 deletions
|
@ -0,0 +1,5 @@
|
|||
""
|
||||
-(
|
||||
"""
|
||||
"""()
|
||||
)
|
|
@ -0,0 +1,26 @@
|
|||
@0-12 SpaceAfter(
|
||||
Apply(
|
||||
@0-2 Str(
|
||||
PlainLine(
|
||||
"",
|
||||
),
|
||||
),
|
||||
[
|
||||
@3-12 UnaryOp(
|
||||
@4-12 PncApply(
|
||||
@4-10 Str(
|
||||
Block(
|
||||
[],
|
||||
),
|
||||
),
|
||||
[],
|
||||
),
|
||||
@3-4 Negate,
|
||||
),
|
||||
],
|
||||
Space,
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
)
|
|
@ -0,0 +1 @@
|
|||
"" -""""""()
|
Loading…
Add table
Add a link
Reference in a new issue