mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
Fixing issue #495 ... options wasn't being passed down in ArrayNode#compileSplatLiteral
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user