This repository was archived by the owner on Nov 9, 2025. It is now read-only.

Description
The ClosureExpr node is currently defined in a way that would imply parentheses around the parameters () body, rather than vertical pipes || body.
|
ClosureExpr = |
|
Attr* 'static'? 'async'? 'move'? ParamList RetType? |
|
body:Expr |
|
ParamList = |
|
'('( |
|
SelfParam |
|
| (SelfParam ',')? (Param (',' Param)* ','?)? |
|
)')' |