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(
697
697
override def evalDefault (expr : Expr , vs : ValScope , es : EvalScope ) = visitExpr(expr)(vs)
698
698
}
699
699
700
- def visitBindings (
701
- bindings : Array [Bind ],
702
- scope : => ValScope ): Array [Lazy ] = {
700
+ def visitBindings (bindings : Array [Bind ], scope : => ValScope ): Array [Lazy ] = {
703
701
val arrF = new Array [Lazy ](bindings.length)
704
702
var i = 0
705
703
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 {
18
18
19
19
def length : Int = bindings.length
20
20
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 = {
25
22
val b = Arrays .copyOf(bindings, bindings.length + newBindings.length + 2 )
26
23
b(bindings.length) = newSelf
27
24
b(bindings.length + 1 ) = newSuper
You can’t perform that action at this time.
0 commit comments