File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -697,9 +697,7 @@ class Evaluator(
697697 override def evalDefault (expr : Expr , vs : ValScope , es : EvalScope ) = visitExpr(expr)(vs)
698698 }
699699
700- def visitBindings (
701- bindings : Array [Bind ],
702- scope : => ValScope ): Array [Lazy ] = {
700+ def visitBindings (bindings : Array [Bind ], scope : => ValScope ): Array [Lazy ] = {
703701 val arrF = new Array [Lazy ](bindings.length)
704702 var i = 0
705703 while (i < bindings.length) {
Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ final class ValScope private (val bindings: Array[Lazy]) extends AnyVal {
1818
1919 def length : Int = bindings.length
2020
21- def extend (
22- newBindings : Array [Lazy ],
23- newSelf : Val .Obj ,
24- newSuper : Val .Obj ): ValScope = {
21+ def extend (newBindings : Array [Lazy ], newSelf : Val .Obj , newSuper : Val .Obj ): ValScope = {
2522 val b = Arrays .copyOf(bindings, bindings.length + newBindings.length + 2 )
2623 b(bindings.length) = newSelf
2724 b(bindings.length + 1 ) = newSuper
You can’t perform that action at this time.
0 commit comments