Skip to content

Commit

Permalink
simplify check for re-evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
slawo-ch committed Oct 16, 2019
1 parent 4a59b19 commit 44738e5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -73,7 +73,7 @@ public Value eval(Stack stack, EvaluationContext context) {
Cell cell = Spaces.resolve(closure, currentStack.getSpace());

// closed over value has not been evaluated yet
if (cell.getValue() == null || cell.isDirty()){
if (cell.isDirty()){
closures.put(closure, cell);
// is currently evaluating
if (cell.isEvaluating()){
Expand Down

0 comments on commit 44738e5

Please sign in to comment.