follow-up to d1bca636; fixed unrolling of the single case ({@a} = o -> @a = o.a)

This commit is contained in:
satyr
2010-10-05 12:03:13 +09:00
parent 9fd031c896
commit 0ada1dfc3f
3 changed files with 11 additions and 15 deletions

View File

@@ -149,6 +149,8 @@ obj =
func: (list, object) ->
[@one, @two] = list
{@a, @b} = object
{@a} = object # must not unroll this
null
obj.func [1, 2], a: 'a', b: 'b'