# HG changeset patch # User Michael Pavone # Date 1387837340 28800 # Node ID b70be565d54cda1b4315cd84e6f700b64a7bddad # Parent b799192e404bc053352088a214fd318b9efddf18 Fix check of return value from env.find in symbol.quote so that falsey found values do not cause trouble. diff -r b799192e404b -r b70be565d54c interp.js --- a/interp.js Sat Dec 21 12:08:06 2013 -0800 +++ b/interp.js Mon Dec 23 14:22:20 2013 -0800 @@ -304,7 +304,7 @@ symbol.prototype.quote = function(env) { var val = env.find(this.name); - if (val) { + if (val !== null) { var newnode = makeASTNode(val); return newnode; } else {