| changeset 208 | 7c5be05296e3 |
| parent 195 | c1ba166f3fc4 |
| child 209 | 5cbec15fadfe |
1.1 --- a/src/compiler/NameBinding.cpp Sat Nov 17 20:23:36 2012 -0800 1.2 +++ b/src/compiler/NameBinding.cpp Sat Nov 17 22:02:08 2012 -0800 1.3 @@ -582,7 +582,8 @@ 1.4 void visitIfStatement(IfStatement *node) { 1.5 node->condition()->accept(this); 1.6 node->ifTrue()->accept(this); 1.7 - node->ifFalse()->accept(this); 1.8 + if (node->ifFalse()) 1.9 + node->ifFalse()->accept(this); 1.10 } 1.11 void visitIndexExpression(IndexExpression *node) { 1.12 node->left()->accept(this);