Skip to content

Commit fd038d8

Browse files
committed
Fix super in value calculations.
1 parent 55bcb26 commit fd038d8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sjsonnet/src/sjsonnet/Evaluator.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,7 @@ class Evaluator(
852852
def invoke(self: Val.Obj, sup: Val.Obj, fs: FileScope, ev: EvalScope): Val = {
853853
lazy val newScope: ValScope = s.extend(newBindings, self, sup)
854854
lazy val newBindings = visitBindings(binds, (self, sup) => newScope)
855-
visitExpr(e.value)(
856-
s.extend(newBindings, self, null)
857-
)
855+
visitExpr(e.value)(newScope)
858856
}
859857
}
860858
)

0 commit comments

Comments
 (0)