Adding a test for #2613
This commit is contained in:
parent
ac398998a2
commit
0b1d4d374a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue