Skip to content

Commit 5fc0e1c

Browse files
jnthntatumcopybara-github
authored andcommitted
Enable updated accumulator variable for CEL Java by default.
PiperOrigin-RevId: 707607511
1 parent 0386196 commit 5fc0e1c

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
@@ -192,7 +192,7 @@ public static Builder newBuilder() {
192192
.populateMacroCalls(false)
193193
.retainRepeatedUnaryOperators(false)
194194
.retainUnbalancedLogicalExpressions(false)
195-
.enableHiddenAccumulatorVar(false)
195+
.enableHiddenAccumulatorVar(true)
196196
.enableQuotedIdentifierSyntax(false)
197197
// Type-Checker options
198198
.enableCompileTimeOverloadResolution(false)

0 commit comments

Comments
 (0)