OLD | NEW |
1 var temps = dart.defineLibrary(temps, {}); | 1 dart.defineLibrary('temps'); |
2 var core = dart.import(core); | 2 dart.import('core'); |
3 (function(exports, core) { | 3 (function(exports, core) { |
4 'use strict'; | 4 'use strict'; |
5 let _x = Symbol('_x'); | 5 let _x = Symbol('_x'); |
6 let __x = Symbol('__x'); | 6 let __x = Symbol('__x'); |
7 let _function = Symbol('_function'); | 7 let _function = Symbol('_function'); |
8 class FormalCollision extends core.Object { | 8 class FormalCollision extends core.Object { |
9 FormalCollision(x, _x$, func) { | 9 FormalCollision(x, _x$, func) { |
10 this[_x] = x; | 10 this[_x] = x; |
11 this[__x] = _x$; | 11 this[__x] = _x$; |
12 this[_function] = func; | 12 this[_function] = func; |
(...skipping 25 matching lines...) Expand all Loading... |
38 core.print(new FormalCollision(1, 2, dart.fn(x => x))); | 38 core.print(new FormalCollision(1, 2, dart.fn(x => x))); |
39 core.print(new OptionalArg()[_opt]); | 39 core.print(new OptionalArg()[_opt]); |
40 core.print(new OptionalArg.named()[_opt]); | 40 core.print(new OptionalArg.named()[_opt]); |
41 } | 41 } |
42 dart.fn(main); | 42 dart.fn(main); |
43 // Exports: | 43 // Exports: |
44 exports.FormalCollision = FormalCollision; | 44 exports.FormalCollision = FormalCollision; |
45 exports.OptionalArg = OptionalArg; | 45 exports.OptionalArg = OptionalArg; |
46 exports.main = main; | 46 exports.main = main; |
47 })(temps, core); | 47 })(temps, core); |
OLD | NEW |