CM KCL: Support =
in record init (#4933)
Support `=` in record init Co-authored-by: Matt Mundell <matt@mundell.me>
This commit is contained in:
@ -57,7 +57,7 @@ expression[@isGroup=Expression] {
|
||||
|
||||
UnaryOp { AddOp | BangOp }
|
||||
|
||||
ObjectProperty { PropertyName ":" expression }
|
||||
ObjectProperty { PropertyName (":" | Equals) expression }
|
||||
|
||||
ArgumentList { "(" commaSep<expression> ")" }
|
||||
|
||||
|
Reference in New Issue
Block a user