OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/metadata_self_test', null, /* Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__metadata_self_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 metadata_self_test = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 metadata_self_test.Foo = class Foo extends core.Object { |
| 11 new() { |
| 12 } |
| 13 }; |
| 14 dart.setSignature(metadata_self_test.Foo, { |
| 15 constructors: () => ({new: dart.definiteFunctionType(metadata_self_test.Foo,
[])}) |
| 16 }); |
| 17 let const$; |
| 18 metadata_self_test.main = function() { |
| 19 let f = const$ || (const$ = dart.const(new metadata_self_test.Foo())); |
| 20 }; |
| 21 dart.fn(metadata_self_test.main, VoidTodynamic()); |
| 22 // Exports: |
| 23 exports.metadata_self_test = metadata_self_test; |
| 24 }); |
OLD | NEW |