add array comprehension collision test #538

This commit is contained in:
Sebastian McKenzie
2015-01-20 16:52:11 +11:00
parent 4790e4068a
commit e46f42872a
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
var foo = [];
assert.deepEqual([for (foo of [1, 2, 3]) foo], [1, 2, 3]);

View File

@@ -0,0 +1,3 @@
{
"experimental": true
}