| OLD | NEW |
| 1 var names = dart.defineLibrary(names, {}); | 1 var names = dart.defineLibrary(names, {}); |
| 2 var core = dart.import(core); | 2 var core = dart.import(core); |
| 3 (function(exports, core) { | 3 (function(exports, core) { |
| 4 'use strict'; | 4 'use strict'; |
| 5 exports.exports = 42; | 5 exports.exports = 42; |
| 6 let _foo$ = Symbol('_foo'); | 6 let _foo$ = Symbol('_foo'); |
| 7 class Foo extends core.Object { | 7 class Foo extends core.Object { |
| 8 [_foo$]() { | 8 [_foo$]() { |
| 9 return 123; | 9 return 123; |
| 10 } | 10 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 get arguments() { | 39 get arguments() { |
| 40 return 200; | 40 return 200; |
| 41 }, | 41 }, |
| 42 set arguments(_) {} | 42 set arguments(_) {} |
| 43 }); | 43 }); |
| 44 function main() { | 44 function main() { |
| 45 core.print(exports.exports); | 45 core.print(exports.exports); |
| 46 core.print(new Foo()[_foo$]()); | 46 core.print(new Foo()[_foo$]()); |
| 47 core.print(_foo()); | 47 core.print(_foo()); |
| 48 core.print(new Frame.caller([1, 2, 3])); | 48 core.print(new Frame.caller([1, 2, 3])); |
| 49 let eval$ = dart.bind(Frame, 'callee'); | 49 let eval$ = Frame.callee; |
| 50 core.print(eval$); | 50 core.print(eval$); |
| 51 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments)); | 51 core.print(dart.notNull(Frame2.caller) + dart.notNull(Frame2.arguments)); |
| 52 } | 52 } |
| 53 dart.fn(main); | 53 dart.fn(main); |
| 54 // Exports: | 54 // Exports: |
| 55 exports.Foo = Foo; | 55 exports.Foo = Foo; |
| 56 exports.Frame = Frame; | 56 exports.Frame = Frame; |
| 57 exports.Frame2 = Frame2; | 57 exports.Frame2 = Frame2; |
| 58 exports.main = main; | 58 exports.main = main; |
| 59 })(names, core); | 59 })(names, core); |
| OLD | NEW |