Adding a test for #2613

This commit is contained in:
Jeremy Ashkenas 2013-02-01 22:07:19 +11:00
parent ac398998a2
commit 0b1d4d374a
1 changed files with 8 additions and 3 deletions

View File

@ -375,3 +375,8 @@ test '#2532: compound assignment with terminator', ->
!
"
"""
test "#2613: parens on LHS of destructuring", ->
a = {}
[(a).b] = [1, 2, 3]
eq a.b, 1