OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/const_native_factory_test_none_multi', null, /* I
mports */[ |
| 2 'dart_sdk' |
| 3 ], function load__const_native_factory_test_none_multi(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 const_native_factory_test_none_multi = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 const_native_factory_test_none_multi.Cake = class Cake extends core.Object { |
| 11 new(name) { |
| 12 this.name = name; |
| 13 } |
| 14 }; |
| 15 dart.setSignature(const_native_factory_test_none_multi.Cake, { |
| 16 constructors: () => ({new: dart.definiteFunctionType(const_native_factory_te
st_none_multi.Cake, [dart.dynamic])}) |
| 17 }); |
| 18 let const$; |
| 19 const_native_factory_test_none_multi.main = function() { |
| 20 let c = const$ || (const$ = dart.const(new const_native_factory_test_none_mu
lti.Cake("Sacher"))); |
| 21 }; |
| 22 dart.fn(const_native_factory_test_none_multi.main, VoidTodynamic()); |
| 23 // Exports: |
| 24 exports.const_native_factory_test_none_multi = const_native_factory_test_none_
multi; |
| 25 }); |
OLD | NEW |