OLD | NEW |
1 var cascade; | 1 var cascade; |
2 (function(cascade) { | 2 (function(exports) { |
3 'use strict'; | 3 'use strict'; |
4 class A extends dart.Object { | 4 class A extends dart.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() { |
11 let a = new A(); | 11 let a = new A(); |
12 a.x = () => { | 12 a.x = () => { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 List.from([])), b = 2; | 71 })(new List.from([])), b = 2; |
72 core.print(a); | 72 core.print(a); |
73 } | 73 } |
74 // Exports: | 74 // Exports: |
75 cascade.A = A; | 75 exports.A = A; |
76 cascade.test_closure_with_mutate = test_closure_with_mutate; | 76 exports.test_closure_with_mutate = test_closure_with_mutate; |
77 cascade.test_closure_without_mutate = test_closure_without_mutate; | 77 exports.test_closure_without_mutate = test_closure_without_mutate; |
78 cascade.test_mutate_inside_cascade = test_mutate_inside_cascade; | 78 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; |
79 cascade.test_mutate_outside_cascade = test_mutate_outside_cascade; | 79 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; |
80 cascade.test_VariableDeclaration_single = test_VariableDeclaration_single; | 80 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; |
81 cascade.test_VariableDeclaration_last = test_VariableDeclaration_last; | 81 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; |
82 cascade.test_VariableDeclaration_first = test_VariableDeclaration_first; | 82 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; |
83 })(cascade || (cascade = {})); | 83 })(cascade || (cascade = {})); |
OLD | NEW |