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