nothing much

This commit is contained in:
Jeremy Ashkenas
2010-03-21 21:26:12 -04:00
parent 0da61ec47e
commit ddf18ae34c
2 changed files with 4 additions and 4 deletions

View File

@@ -1209,9 +1209,9 @@ exports.IfNode: class IfNode extends BaseNode
@switcher: variable
@condition: if @multiple
for cond, i in @condition
new OpNode('is', (if i is 0 then assigner else @switcher), cond)
new OpNode('==', (if i is 0 then assigner else @switcher), cond)
else
new OpNode('is', assigner, @condition)
new OpNode('==', assigner, @condition)
@else_body.rewrite_condition(@switcher) if @is_chain()
this