optimizations
This commit is contained in:
@@ -800,7 +800,7 @@ func testEval(input string) object.Object {
|
||||
program := p.ParseProgram()
|
||||
env := object.NewEnvironment()
|
||||
|
||||
return Eval(program, context.New(), env)
|
||||
return Eval(context.New(), program, env)
|
||||
}
|
||||
|
||||
func testIntegerObject(t *testing.T, obj object.Object, expected int64) bool {
|
||||
|
||||
Reference in New Issue
Block a user