| OLD | NEW |
| 1 var cascade; | 1 var cascade; |
| 2 (function(exports) { | 2 (function(exports) { |
| 3 'use strict'; | 3 'use strict'; |
| 4 class A extends core.Object { | 4 class A extends core.Object { |
| 5 A() { | 5 A() { |
| 6 this.x = null; | 6 this.x = null; |
| 7 } | 7 } |
| 8 } | 8 } |
| 9 // Function test_closure_with_mutate: () → void | 9 // Function test_closure_with_mutate: () → void |
| 10 function test_closure_with_mutate() { | 10 function test_closure_with_mutate() { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 class Base extends core.Object { | 75 class Base extends core.Object { |
| 76 Base() { | 76 Base() { |
| 77 this.x = new core.List$(T).from([]); | 77 this.x = new core.List$(T).from([]); |
| 78 } | 78 } |
| 79 } | 79 } |
| 80 return Base; | 80 return Base; |
| 81 }); | 81 }); |
| 82 let Base = Base$(); | 82 let Base = Base$(); |
| 83 class Foo extends Base$(core.int) { | 83 class Foo extends Base$(core.int) { |
| 84 test_final_field_generic(t) { | 84 test_final_field_generic(t) { |
| 85 this.x.add(1); | 85 this.x[core.$add](1); |
| 86 this.x.add(2); | 86 this.x[core.$add](2); |
| 87 this.x.add(3); | 87 this.x[core.$add](3); |
| 88 this.x.add(4); | 88 this.x[core.$add](4); |
| 89 } | 89 } |
| 90 } | 90 } |
| 91 // Exports: | 91 // Exports: |
| 92 exports.A = A; | 92 exports.A = A; |
| 93 exports.test_closure_with_mutate = test_closure_with_mutate; | 93 exports.test_closure_with_mutate = test_closure_with_mutate; |
| 94 exports.test_closure_without_mutate = test_closure_without_mutate; | 94 exports.test_closure_without_mutate = test_closure_without_mutate; |
| 95 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; | 95 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; |
| 96 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; | 96 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; |
| 97 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; | 97 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; |
| 98 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; | 98 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; |
| 99 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; | 99 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; |
| 100 exports.Base$ = Base$; | 100 exports.Base$ = Base$; |
| 101 exports.Base = Base; | 101 exports.Base = Base; |
| 102 exports.Foo = Foo; | 102 exports.Foo = Foo; |
| 103 })(cascade || (cascade = {})); | 103 })(cascade || (cascade = {})); |
| OLD | NEW |