OLD | NEW |
1 var opassign; | 1 var opassign; |
2 (function(exports) { | 2 (function(exports) { |
3 'use strict'; | 3 'use strict'; |
4 dart.copyProperties(exports, { | 4 dart.copyProperties(exports, { |
5 get index() { | 5 get index() { |
6 core.print('called "index" getter'); | 6 core.print('called "index" getter'); |
7 return 0; | 7 return 0; |
8 } | 8 } |
9 }); | 9 }); |
10 let _foo = Symbol('_foo'); | |
11 dart.defineLazyProperties(exports, { | 10 dart.defineLazyProperties(exports, { |
12 get [_foo]() { | 11 get _foo() { |
13 return new Foo(); | 12 return new Foo(); |
14 } | 13 } |
15 }); | 14 }); |
16 dart.copyProperties(exports, { | 15 dart.copyProperties(exports, { |
17 get foo() { | 16 get foo() { |
18 core.print('called "foo" getter'); | 17 core.print('called "foo" getter'); |
19 return exports._foo; | 18 return exports._foo; |
20 } | 19 } |
21 }); | 20 }); |
22 class Foo extends core.Object { | 21 class Foo extends core.Object { |
(...skipping 25 matching lines...) Expand all Loading... |
48 f.set(i$, dart.dsend(f.get(i$), '+', f.get(exports.index))); | 47 f.set(i$, dart.dsend(f.get(i$), '+', f.get(exports.index))); |
49 } | 48 } |
50 // Function forcePostfix: (dynamic) → dynamic | 49 // Function forcePostfix: (dynamic) → dynamic |
51 function forcePostfix(x) { | 50 function forcePostfix(x) { |
52 } | 51 } |
53 // Exports: | 52 // Exports: |
54 exports.Foo = Foo; | 53 exports.Foo = Foo; |
55 exports.main = main; | 54 exports.main = main; |
56 exports.forcePostfix = forcePostfix; | 55 exports.forcePostfix = forcePostfix; |
57 })(opassign || (opassign = {})); | 56 })(opassign || (opassign = {})); |
OLD | NEW |