fix various for-of bugs (#2800)
- disable `rename` pass on harmony due to problem with for-of loops fixes #2794
This commit is contained in:
@@ -405,7 +405,8 @@ describe("minify", function() {
|
||||
});
|
||||
});
|
||||
|
||||
describe("rename", function() {
|
||||
// rename is disabled on harmony due to expand_names bug in for-of loops
|
||||
if (0) describe("rename", function() {
|
||||
it("Should be repeatable", function() {
|
||||
var code = "!function(x){return x(x)}(y);";
|
||||
for (var i = 0; i < 2; i++) {
|
||||
|
||||
Reference in New Issue
Block a user