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