Skip to content

Commit 085d285

Browse files
Set deprecatedSkipAsserts to Object Comprehension members (#546)
Follow up to #541
1 parent d5c2671 commit 085d285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sjsonnet/src/sjsonnet/Evaluator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ class Evaluator(
781781
case Val.Str(_, k) =>
782782
val previousValue = builder.put(
783783
k,
784-
new Val.Obj.Member(e.plus, Visibility.Normal) {
784+
new Val.Obj.Member(e.plus, Visibility.Normal, deprecatedSkipAsserts = true) {
785785
def invoke(self: Val.Obj, sup: Val.Obj, fs: FileScope, ev: EvalScope): Val = {
786786
// There is a circular dependency between `newScope` and `newBindings` because
787787
// bindings may refer to other bindings (e.g. chains of locals that build on

0 commit comments

Comments
 (0)