OLD | NEW |
1 //FAILED TO COMPILE | 1 dart_library.library('language/part_test', null, /* Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__part_test(exports, dart_sdk) { |
| 4 'use strict'; |
| 5 const core = dart_sdk.core; |
| 6 const dart = dart_sdk.dart; |
| 7 const dartx = dart_sdk.dartx; |
| 8 const part_test = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 part_test.main = function() { |
| 11 core.print(part_test.foo); |
| 12 }; |
| 13 dart.fn(part_test.main, VoidTodynamic()); |
| 14 part_test.foo = 'foo'; |
| 15 // Exports: |
| 16 exports.part_test = part_test; |
| 17 }); |
OLD | NEW |