Commit a63cca8
authored
Closes #59911. `'` is generally treated as its own thing in Expr and
flisp, but treated as a special type of call in JuliaSyntax. This change
makes `x' = y` parse to the <=1.11 `(= (|'| x) y)` instead of wrapping
the body in a block like we do when parsing `f(x) = y`.
The special case is fine to me given that it's a more understandable
parse, and we're hoping to move away from LineNumberNodes in the future
anyway. (I think this was the original reason for the block-wrap for
`f(x) = y`).
1 parent 3484331 commit a63cca8
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| 541 | + | |
541 | 542 | | |
542 | | - | |
| 543 | + | |
543 | 544 | | |
544 | 545 | | |
545 | 546 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
272 | 278 | | |
273 | 279 | | |
274 | 280 | | |
| |||
0 commit comments