Skip to content
Browse files

Whitespace.

  • Loading branch information...
1 parent 311f35d commit a89649f9e767f8b9aece602c9032d30da31fa0b9 @maryrosecook committed Dec 27, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/interpreter.js
View
6 src/interpreter.js
@@ -100,7 +100,8 @@
var fn = resolve({
ref: interpretAst(Isla.Parser.extract(ast, "invocation", 0), env)
}, env);
- var param = resolve(interpretAst(Isla.Parser.extract(ast, "invocation", 1),
+ var param = resolve(interpretAst(Isla.Parser.extract(ast,
+ "invocation", 1),
env).val, env);
var returnVal = fn(env, param);
return nreturn(env.ctx, returnVal);
@@ -203,8 +204,7 @@
.dispatch(function(thing) {
if(thing instanceof Isla.Library.List) {
return "list";
- }
- else if(Isla.Utils.type(thing) === "Object") {
+ } else if(Isla.Utils.type(thing) === "Object") {
return thing.ref === undefined ? "object" : "ref";
}
})

0 comments on commit a89649f

Please sign in to comment.
Something went wrong with that request. Please try again.