OLD | NEW |
1 var temps; | 1 var temps = dart.defineLibrary(temps, {}); |
2 (function(exports) { | 2 var core = dart.import(core); |
| 3 (function(exports, core) { |
3 'use strict'; | 4 'use strict'; |
4 let _x = Symbol('_x'); | 5 let _x = Symbol('_x'); |
5 let __x = Symbol('__x'); | 6 let __x = Symbol('__x'); |
6 let _function = Symbol('_function'); | 7 let _function = Symbol('_function'); |
7 class FormalCollision extends core.Object { | 8 class FormalCollision extends core.Object { |
8 FormalCollision(x, _x$, func) { | 9 FormalCollision(x, _x$, func) { |
9 this[_x] = x; | 10 this[_x] = x; |
10 this[__x] = _x$; | 11 this[__x] = _x$; |
11 this[_function] = func; | 12 this[_function] = func; |
12 } | 13 } |
(...skipping 14 matching lines...) Expand all Loading... |
27 // Function main: () → dynamic | 28 // Function main: () → dynamic |
28 function main() { | 29 function main() { |
29 core.print(new FormalCollision(1, 2, x => x)); | 30 core.print(new FormalCollision(1, 2, x => x)); |
30 core.print(new OptionalArg()[_opt]); | 31 core.print(new OptionalArg()[_opt]); |
31 core.print(new OptionalArg.named()[_opt]); | 32 core.print(new OptionalArg.named()[_opt]); |
32 } | 33 } |
33 // Exports: | 34 // Exports: |
34 exports.FormalCollision = FormalCollision; | 35 exports.FormalCollision = FormalCollision; |
35 exports.OptionalArg = OptionalArg; | 36 exports.OptionalArg = OptionalArg; |
36 exports.main = main; | 37 exports.main = main; |
37 })(temps || (temps = {})); | 38 })(temps, core); |
OLD | NEW |