| OLD | NEW |
| 1 var constructors; | 1 var constructors; |
| 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 } | 5 } |
| 6 class B extends core.Object { | 6 class B extends core.Object { |
| 7 B() { | 7 B() { |
| 8 } | 8 } |
| 9 } | 9 } |
| 10 class C extends core.Object { | 10 class C extends core.Object { |
| 11 C$named() { | 11 named() { |
| 12 } | 12 } |
| 13 } | 13 } |
| 14 dart.defineNamedConstructor(C, 'named'); | 14 dart.defineNamedConstructor(C, 'named'); |
| 15 class C2 extends C { | 15 class C2 extends C { |
| 16 C2$named() { | 16 named() { |
| 17 super.C$named(); | 17 super.named(); |
| 18 } | 18 } |
| 19 } | 19 } |
| 20 dart.defineNamedConstructor(C2, 'named'); | 20 dart.defineNamedConstructor(C2, 'named'); |
| 21 class D extends core.Object { | 21 class D extends core.Object { |
| 22 D() { | 22 D() { |
| 23 } | 23 } |
| 24 D$named() { | 24 named() { |
| 25 } | 25 } |
| 26 } | 26 } |
| 27 dart.defineNamedConstructor(D, 'named'); | 27 dart.defineNamedConstructor(D, 'named'); |
| 28 class E extends core.Object { | 28 class E extends core.Object { |
| 29 E(name) { | 29 E(name) { |
| 30 this.name = name; | 30 this.name = name; |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 class F extends E { | 33 class F extends E { |
| 34 F(name) { | 34 F(name) { |
| 35 super.E(name); | 35 super.E(name); |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 class G extends core.Object { | 38 class G extends core.Object { |
| 39 G(p1) { | 39 G(p1) { |
| 40 if (p1 === void 0) | 40 if (p1 === void 0) |
| 41 p1 = null; | 41 p1 = null; |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 class H extends core.Object { | 44 class H extends core.Object { |
| 45 H(opts) { | 45 H(opts) { |
| 46 let p1 = opts && 'p1' in opts ? opts.p1 : null; | 46 let p1 = opts && 'p1' in opts ? opts.p1 : null; |
| 47 } | 47 } |
| 48 } | 48 } |
| 49 class I extends core.Object { | 49 class I extends core.Object { |
| 50 I() { | 50 I() { |
| 51 this.name = 'default'; | 51 this.name = 'default'; |
| 52 } | 52 } |
| 53 I$named(name) { | 53 named(name) { |
| 54 this.name = name; | 54 this.name = name; |
| 55 } | 55 } |
| 56 } | 56 } |
| 57 dart.defineNamedConstructor(I, 'named'); | 57 dart.defineNamedConstructor(I, 'named'); |
| 58 class J extends core.Object { | 58 class J extends core.Object { |
| 59 J() { | 59 J() { |
| 60 this.initialized = true; | 60 this.initialized = true; |
| 61 this.nonInitialized = null; | 61 this.nonInitialized = null; |
| 62 } | 62 } |
| 63 } | 63 } |
| 64 class K extends core.Object { | 64 class K extends core.Object { |
| 65 K() { | 65 K() { |
| 66 this.s = 'a'; | 66 this.s = 'a'; |
| 67 } | 67 } |
| 68 K$withS(s) { | 68 withS(s) { |
| 69 this.s = s; | 69 this.s = s; |
| 70 } | 70 } |
| 71 } | 71 } |
| 72 dart.defineNamedConstructor(K, 'withS'); | 72 dart.defineNamedConstructor(K, 'withS'); |
| 73 class L extends core.Object { | 73 class L extends core.Object { |
| 74 L(foo) { | 74 L(foo) { |
| 75 this.foo = foo; | 75 this.foo = foo; |
| 76 } | 76 } |
| 77 } | 77 } |
| 78 class M extends L { | 78 class M extends L { |
| 79 M$named(x) { | 79 named(x) { |
| 80 super.L(dart.notNull(x) + 42); | 80 super.L(dart.notNull(x) + 42); |
| 81 } | 81 } |
| 82 } | 82 } |
| 83 dart.defineNamedConstructor(M, 'named'); | 83 dart.defineNamedConstructor(M, 'named'); |
| 84 class N extends M { | 84 class N extends M { |
| 85 N$named(y) { | 85 named(y) { |
| 86 super.M$named(dart.notNull(y) + 100); | 86 super.named(dart.notNull(y) + 100); |
| 87 } | 87 } |
| 88 } | 88 } |
| 89 dart.defineNamedConstructor(N, 'named'); | 89 dart.defineNamedConstructor(N, 'named'); |
| 90 class P extends N { | 90 class P extends N { |
| 91 P(z) { | 91 P(z) { |
| 92 super.N$named(dart.notNull(z) + 9000); | 92 super.named(dart.notNull(z) + 9000); |
| 93 } | 93 } |
| 94 P$foo(x) { | 94 foo(x) { |
| 95 this.P(dart.notNull(x) + 42); | 95 this.P(dart.notNull(x) + 42); |
| 96 } | 96 } |
| 97 P$bar() { | 97 bar() { |
| 98 this.P$foo(1); | 98 this.foo(1); |
| 99 } | 99 } |
| 100 } | 100 } |
| 101 dart.defineNamedConstructor(P, 'foo'); | 101 dart.defineNamedConstructor(P, 'foo'); |
| 102 dart.defineNamedConstructor(P, 'bar'); | 102 dart.defineNamedConstructor(P, 'bar'); |
| 103 // Exports: | 103 // Exports: |
| 104 exports.A = A; | 104 exports.A = A; |
| 105 exports.B = B; | 105 exports.B = B; |
| 106 exports.C = C; | 106 exports.C = C; |
| 107 exports.C2 = C2; | 107 exports.C2 = C2; |
| 108 exports.D = D; | 108 exports.D = D; |
| 109 exports.E = E; | 109 exports.E = E; |
| 110 exports.F = F; | 110 exports.F = F; |
| 111 exports.G = G; | 111 exports.G = G; |
| 112 exports.H = H; | 112 exports.H = H; |
| 113 exports.I = I; | 113 exports.I = I; |
| 114 exports.J = J; | 114 exports.J = J; |
| 115 exports.K = K; | 115 exports.K = K; |
| 116 exports.L = L; | 116 exports.L = L; |
| 117 exports.M = M; | 117 exports.M = M; |
| 118 exports.N = N; | 118 exports.N = N; |
| 119 exports.P = P; | 119 exports.P = P; |
| 120 })(constructors || (constructors = {})); | 120 })(constructors || (constructors = {})); |
| OLD | NEW |