Merge branch 'master' into harmony-v2.8.5

This commit is contained in:
alexlamsl
2017-03-03 07:17:52 +08:00
11 changed files with 351 additions and 46 deletions

View File

@@ -740,6 +740,29 @@ call_args: {
}
}
call_args_drop_param: {
options = {
evaluate: true,
keep_fargs: false,
reduce_vars: true,
unused: true,
}
input: {
const a = 1;
console.log(a);
+function(a) {
return a;
}(a, b);
}
expect: {
const a = 1;
console.log(1);
+function() {
return 1;
}(b);
}
}
in_boolean_context: {
options = {
booleans: true,