jashkenas/coffee-script — Issue #1773: Sub-Object function arguments' Parse Error
Author: qrgnote
Created: 2011-10-16 08:32:29+00:00
State: open

The following works

obj = func 'cat',
test : 'test'

But this doesn't

obj =
sub_obj : func 'cat',
test : 'test'

Parentheses fixes the *Parse Error*

obj =
sub_obj : func('cat',
test : 'test')

might be related to #1615 and Case #1111