OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/compile_time_constant_c_test_01_multi', null, /*
Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__compile_time_constant_c_test_01_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 compile_time_constant_c_test_01_multi = Object.create(null); |
| 9 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun
ctionType(dart.dynamic, [dart.dynamic])))(); |
| 10 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 11 compile_time_constant_c_test_01_multi.m0 = dart.const(dart.map([499, 400 + 99]
)); |
| 12 compile_time_constant_c_test_01_multi.m1 = dart.const(dart.map(["foo" + "bar",
42])); |
| 13 compile_time_constant_c_test_01_multi.m2 = dart.const(dart.map()); |
| 14 compile_time_constant_c_test_01_multi.m3 = dart.const(dart.map()); |
| 15 compile_time_constant_c_test_01_multi.use = function(x) { |
| 16 return x; |
| 17 }; |
| 18 dart.fn(compile_time_constant_c_test_01_multi.use, dynamicTodynamic()); |
| 19 compile_time_constant_c_test_01_multi.main = function() { |
| 20 compile_time_constant_c_test_01_multi.use(compile_time_constant_c_test_01_mu
lti.m0); |
| 21 compile_time_constant_c_test_01_multi.use(compile_time_constant_c_test_01_mu
lti.m1); |
| 22 compile_time_constant_c_test_01_multi.use(compile_time_constant_c_test_01_mu
lti.m2); |
| 23 compile_time_constant_c_test_01_multi.use(compile_time_constant_c_test_01_mu
lti.m3); |
| 24 }; |
| 25 dart.fn(compile_time_constant_c_test_01_multi.main, VoidTodynamic()); |
| 26 // Exports: |
| 27 exports.compile_time_constant_c_test_01_multi = compile_time_constant_c_test_0
1_multi; |
| 28 }); |
OLD | NEW |