Fix in inside of the first group of a for (#406)

Fixes #405
This commit is contained in:
Christopher Chedeau authored and GitHub committed 2017-01-22 15:52:35 -08:00
1 parent 2f220de204
commit 41d92c1187
3 files changed
+13

No files matched your search

@@ -292,6 +292,14 @@ for (var i = 0; i < 10; ++i) {
"
`;
exports[`test in.js 1`] = `
"for ((x in a);;) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
for ((x in a); ; ) {
}
"
`;
exports[`test var.js 1`] = `
"for (a in b) var c = {}; [];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+1
View File
@@ -0,0 +1 @@
for ((x in a);;) {}