Permalink
Browse files

Whoops; forgot to add a 'this.' to the recursive is_free_in calls.

  • Loading branch information...
1 parent 9a34bf5 commit 4e87432732da300670273b22cef303068c287843 @mike-burns committed Dec 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lc_evaluator.js
View
@@ -51,9 +51,9 @@ var evaluator = (function() { return {
var lambda_variable = expr[1];
var lambda_body = expr[2];
return (lambda_variable != variable &&
- is_free_in(lambda_body, variable));
+ this.is_free_in(lambda_body, variable));
} else if (tag == "ApplyExpr")
- return is_free_in(expr[1], variable) || is_free_in(expr[2], variable);
+ return this.is_free_in(expr[1], variable) || this.is_free_in(expr[2], variable);
},
stringify: function(expr) {

0 comments on commit 4e87432

Please sign in to comment.