Skip to content

Commit 17befd8

Browse files
jnthntatumcopybara-github
authored andcommitted
Enable updated accumulator variable for CEL-Java parser by default.
PiperOrigin-RevId: 707607511
1 parent feb4499 commit 17befd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/dev/cel/common/CelOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public static Builder newBuilder() {
139139
.populateMacroCalls(false)
140140
.retainRepeatedUnaryOperators(false)
141141
.retainUnbalancedLogicalExpressions(false)
142-
.enableHiddenAccumulatorVar(false)
142+
.enableHiddenAccumulatorVar(true)
143143
.enableQuotedIdentifierSyntax(false)
144144
// Type-Checker options
145145
.enableCompileTimeOverloadResolution(false)

0 commit comments

Comments
 (0)