CM KCL: Support = in record init (#4933)

Support `=` in record init

Co-authored-by: Matt Mundell <matt@mundell.me>
This commit is contained in:
Jonathan Tran
2025-01-06 10:16:42 -05:00
committed by GitHub
parent e7cb390db4
commit 92da86391a
2 changed files with 21 additions and 1 deletions

View File

@ -57,7 +57,7 @@ expression[@isGroup=Expression] {
UnaryOp { AddOp | BangOp }
ObjectProperty { PropertyName ":" expression }
ObjectProperty { PropertyName (":" | Equals) expression }
ArgumentList { "(" commaSep<expression> ")" }