BackwardsGraph needs to consider back edges as the backward's root successor
[WebKit-https.git] / JSTests / es6 / arrow_functions_lexical_super_binding.js
1 function test() {
2
3 class B {
4   qux() {
5     return "quux";
6   }
7 }
8 class C extends B {
9   baz() {
10     return x => super.qux();
11   }
12 }
13 var arrow = new C().baz();
14 return arrow() === "quux";
15       
16 }
17
18 if (!test())
19     throw new Error("Test failed");
20