Commit ad07b49d authored by adamk's avatar adamk Committed by Commit bot

Add a bit of test coverage for callers of destructuring assignment

In particular, this covers one caller of CheckDestructuringElement
that didn't have tests before.

R=caitp@igalia.com

Review-Url: https://codereview.chromium.org/2267153002
Cr-Commit-Position: refs/heads/master@{#38841}
parent cf6db3fc
......@@ -6746,6 +6746,11 @@ TEST(DestructuringAssignmentNegativeTests) {
"[x, y, ...[z] = [1]]",
"[...[z] = [1]]",
"[...++x]",
"[...x--]",
"[...!x]",
"[...x + y]",
// v8:4657
"({ x: x4, x: (x+=1e4) })",
"(({ x: x4, x: (x+=1e4) }))",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment