Skip to content

Commit 51d5866

Browse files
authored
Fix: update spread operator handling to use addIfExpr (#226)
1 parent ffe84bf commit 51d5866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expression-src/main/src/interpreter/Parser.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public with sharing class Parser {
183183
private Expr spread() {
184184
if (match(TokenType.SPREAD)) {
185185
Token spreadToken = previous();
186-
Expr right = getExpr();
186+
Expr right = addIfExpr();
187187
return new Expr.Spread(
188188
spreadToken,
189189
right

0 commit comments

Comments
 (0)