| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 } | 64 } |
| 65 // Function test_VariableDeclaration_first: () → void | 65 // Function test_VariableDeclaration_first: () → void |
| 66 function test_VariableDeclaration_first() { | 66 function test_VariableDeclaration_first() { |
| 67 let a = ((_) => { | 67 let a = ((_) => { |
| 68 _.length = 2; | 68 _.length = 2; |
| 69 _.add(3); | 69 _.add(3); |
| 70 return _; | 70 return _; |
| 71 })(new core.List.from([])), b = 2; | 71 })(new core.List.from([])), b = 2; |
| 72 core.print(a); | 72 core.print(a); |
| 73 } | 73 } |
| 74 let Base$ = dart.generic(function(T) { |
| 75 class Base extends core.Object { |
| 76 Base() { |
| 77 this.x = new core.List$(T).from([]); |
| 78 } |
| 79 } |
| 80 return Base; |
| 81 }); |
| 82 let Base = Base$(); |
| 83 class Foo extends Base$(core.int) { |
| 84 test_final_field_generic(t) { |
| 85 this.x.add(1); |
| 86 this.x.add(2); |
| 87 this.x.add(3); |
| 88 this.x.add(4); |
| 89 } |
| 90 } |
| 74 // Exports: | 91 // Exports: |
| 75 exports.A = A; | 92 exports.A = A; |
| 76 exports.test_closure_with_mutate = test_closure_with_mutate; | 93 exports.test_closure_with_mutate = test_closure_with_mutate; |
| 77 exports.test_closure_without_mutate = test_closure_without_mutate; | 94 exports.test_closure_without_mutate = test_closure_without_mutate; |
| 78 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; | 95 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; |
| 79 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; | 96 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; |
| 80 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; | 97 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; |
| 81 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; | 98 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; |
| 82 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; | 99 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; |
| 100 exports.Base$ = Base$; |
| 101 exports.Base = Base; |
| 102 exports.Foo = Foo; |
| 83 })(cascade || (cascade = {})); | 103 })(cascade || (cascade = {})); |
| OLD | NEW |