OLD | NEW |
1 dart_library.library('constructors', null, /* Imports */[ | 1 dart_library.library('constructors', null, /* Imports */[ |
2 "dart/_runtime", | 2 "dart/_runtime", |
3 'dart/core' | 3 'dart/core' |
4 ], /* Lazy imports */[ | 4 ], /* Lazy imports */[ |
5 ], function(exports, dart, core) { | 5 ], function(exports, dart, core) { |
6 'use strict'; | 6 'use strict'; |
7 let dartx = dart.dartx; | 7 let dartx = dart.dartx; |
8 class A extends core.Object {} | 8 class A extends core.Object {} |
9 class B extends core.Object { | 9 class B extends core.Object { |
10 B() { | 10 B() { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 class G extends core.Object { | 62 class G extends core.Object { |
63 G(p1) { | 63 G(p1) { |
64 if (p1 === void 0) | 64 if (p1 === void 0) |
65 p1 = null; | 65 p1 = null; |
66 } | 66 } |
67 } | 67 } |
68 dart.setSignature(G, { | 68 dart.setSignature(G, { |
69 constructors: () => ({G: [G, [], [core.String]]}) | 69 constructors: () => ({G: [G, [], [core.String]]}) |
70 }); | 70 }); |
71 class H extends core.Object { | 71 class H extends core.Object { |
72 H(opts) { | 72 H({p1 = null} = {}) { |
73 let p1 = opts && 'p1' in opts ? opts.p1 : null; | |
74 } | 73 } |
75 } | 74 } |
76 dart.setSignature(H, { | 75 dart.setSignature(H, { |
77 constructors: () => ({H: [H, [], {p1: core.String}]}) | 76 constructors: () => ({H: [H, [], {p1: core.String}]}) |
78 }); | 77 }); |
79 class I extends core.Object { | 78 class I extends core.Object { |
80 I() { | 79 I() { |
81 this.name = 'default'; | 80 this.name = 'default'; |
82 } | 81 } |
83 named(name) { | 82 named(name) { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 exports.I = I; | 209 exports.I = I; |
211 exports.J = J; | 210 exports.J = J; |
212 exports.K = K; | 211 exports.K = K; |
213 exports.L = L; | 212 exports.L = L; |
214 exports.M = M; | 213 exports.M = M; |
215 exports.N = N; | 214 exports.N = N; |
216 exports.P = P; | 215 exports.P = P; |
217 exports.Q$ = Q$; | 216 exports.Q$ = Q$; |
218 exports.Q = Q; | 217 exports.Q = Q; |
219 }); | 218 }); |
OLD | NEW |