Fixing issue #495 ... options wasn't being passed down in ArrayNode#compileSplatLiteral

This commit is contained in:
Jeremy Ashkenas
2010-07-13 21:51:27 -04:00
parent cc827b139d
commit 8c34aff1c5
2 changed files with 2 additions and 2 deletions

View File

@@ -633,7 +633,7 @@ exports.ArrayNode: class ArrayNode extends BaseNode
for obj, i in @objects
code: obj.compile(o)
if obj instanceof SplatNode
return @compileSplatLiteral @objects, o
return @compileSplatLiteral o
else if obj instanceof CommentNode
objects.push "\n$code\n$o.indent"
else if i is @objects.length - 1