This commit is contained in:
Fábio Santos
2016-03-27 12:21:39 +01:00
parent 6d2f77c180
commit 6702cae918
2 changed files with 15 additions and 3 deletions

View File

@@ -380,6 +380,17 @@ export_statement_mangling: {
}
}
// https://github.com/mishoo/UglifyJS2/issues/1021
regression_for_of_const: {
input: {
for (const x of y) {}
for (const x in y) {}
}
expect: {
for (const x of y);for (const x in y);
}
}
// Fabio: My patches accidentally caused a crash whenever
// there's an extraneous set of parens around an object.
regression_cannot_destructure: {