Array comprehensions are alive and well on the self-compiler

This commit is contained in:
Jeremy Ashkenas
2010-02-12 13:52:57 -05:00
parent c0f9058f15
commit e2ad1190ac
2 changed files with 2 additions and 2 deletions

View File

@@ -754,7 +754,7 @@ OpNode: exports.OpNode: inherit Node, {
PREFIX_OPERATORS: ['typeof', 'delete']
constructor: (operator, first, second, flip) ->
@children: [@first: first, @second: second]
@children: compact [@first: first, @second: second]
@operator: @CONVERSIONS[operator] or operator
@flip: !!flip
this