| Index: test/cctest/test-parsing.cc
|
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
|
| index ef6b5d30c497550b5536b5831ef4d110fe915ab8..d8aedd5ca8ca9d7359e33b067ab650fb175c0e07 100644
|
| --- a/test/cctest/test-parsing.cc
|
| +++ b/test/cctest/test-parsing.cc
|
| @@ -983,12 +983,16 @@ TEST(ScopeUsesArgumentsSuperThis) {
|
| {"return function (x) { return () => super() }", NONE},
|
| // Flags must be correctly set when using block scoping.
|
| {"\"use strict\"; while (true) { let x; this, arguments; }",
|
| + ARGUMENTS | THIS},
|
| + {"\"use strict\"; while (true) {"
|
| + " let x; return () => this + arguments;"
|
| + "}",
|
| INNER_ARGUMENTS | INNER_THIS},
|
| {"\"use strict\"; while (true) { let x; this, super(), arguments; }",
|
| - INNER_ARGUMENTS | INNER_SUPER_CONSTRUCTOR_CALL | INNER_THIS},
|
| - {"\"use strict\"; if (foo()) { let x; this.f() }", INNER_THIS},
|
| + ARGUMENTS | SUPER_CONSTRUCTOR_CALL | THIS},
|
| + {"\"use strict\"; if (foo()) { let x; this.f() }", THIS},
|
| {"\"use strict\"; if (foo()) { let x; super.f() }",
|
| - INNER_SUPER_PROPERTY},
|
| + SUPER_PROPERTY},
|
| {"\"use strict\"; if (1) {"
|
| " let x; return function () { return this + super() + arguments }"
|
| "}",
|
|
|