OLD | NEW |
1 dart_library.library('names', null, /* Imports */[ | 1 dart_library.library('names', 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 exports.exports = 42; | 8 exports.exports = 42; |
9 const _foo$ = Symbol('_foo'); | 9 const _foo$ = Symbol('_foo'); |
10 class Foo extends core.Object { | 10 class Foo extends core.Object { |
(...skipping 30 matching lines...) Expand all Loading... |
41 set caller(_) {}, | 41 set caller(_) {}, |
42 get arguments() { | 42 get arguments() { |
43 return 200; | 43 return 200; |
44 }, | 44 }, |
45 set arguments(_) {} | 45 set arguments(_) {} |
46 }); | 46 }); |
47 function main() { | 47 function main() { |
48 core.print(exports.exports); | 48 core.print(exports.exports); |
49 core.print(new Foo()[_foo$]()); | 49 core.print(new Foo()[_foo$]()); |
50 core.print(_foo()); | 50 core.print(_foo()); |
51 core.print(new Frame.caller([1, 2, 3])); | 51 core.print(new Frame.caller(dart.list([1, 2, 3], core.int))); |
52 let eval$ = Frame.callee; | 52 let eval$ = Frame.callee; |
53 core.print(eval$); | 53 core.print(eval$); |
54 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments)); | 54 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments)); |
55 } | 55 } |
56 dart.fn(main); | 56 dart.fn(main); |
57 // Exports: | 57 // Exports: |
58 exports.Foo = Foo; | 58 exports.Foo = Foo; |
59 exports.Frame = Frame; | 59 exports.Frame = Frame; |
60 exports.Frame2 = Frame2; | 60 exports.Frame2 = Frame2; |
61 exports.main = main; | 61 exports.main = main; |
62 }); | 62 }); |
OLD | NEW |