mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
add missing implicit object literal test
ref michaelficarra/CoffeeScriptRedux#266 and 670a1f5f78 (diff-2)
This commit is contained in:
@@ -410,3 +410,10 @@ test "#2207: Immediate implicit closes don't close implicit objects", ->
|
||||
key: for i in [1, 2, 3] then i
|
||||
|
||||
eq func().key.join(' '), '1 2 3'
|
||||
|
||||
test 'inline implicit object literals within multiline implicit object literals', ->
|
||||
x =
|
||||
a: aa: 0
|
||||
b: 0
|
||||
eq 0, x.b
|
||||
eq 0, x.a.aa
|
||||
|
||||
Reference in New Issue
Block a user