in coffeescript the following code is all legal
foo(a:b, d)
foo({a:b}, d.x)
foo(a:b, (d.x))
But for some reason
foo(a:b, d.x)
is illegal. I figure this must either be because there is an ambiguity here I’m not seeing or the interpreter is being overly vigilant.
turns out this is a previously reported coffeescript bug