Merge branch 'master' into harmony-v3.2.1

This commit is contained in:
alexlamsl
2017-12-03 11:59:41 +08:00
26 changed files with 910 additions and 256 deletions

View File

@@ -129,8 +129,8 @@ dead_code_constant_boolean_should_warn_more: {
var bar;
// nothing for the while
// as for the for, it should keep:
var x = 10, y;
var moo;
var x = 10, y;
bar();
}
expect_stdout: true
@@ -165,8 +165,8 @@ dead_code_constant_boolean_should_warn_more_strict: {
var foo;
// nothing for the while
// as for the for, it should keep:
var x = 10, y;
var moo;
var x = 10, y;
bar();
}
expect_stdout: true
@@ -328,6 +328,8 @@ try_catch_finally: {
conditionals: true,
dead_code: true,
evaluate: true,
passes: 2,
side_effects: true,
}
input: {
var a = 1;