OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/compile_time_constant12_test', null, /* Imports *
/[ |
| 2 'dart_sdk' |
| 3 ], function load__compile_time_constant12_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 compile_time_constant12_test = 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_constant12_test.s = "foo"; |
| 12 compile_time_constant12_test.i = compile_time_constant12_test.s[dartx.length]; |
| 13 compile_time_constant12_test.l = dart.notNull("foo"[dartx.length]) + 1; |
| 14 compile_time_constant12_test.use = function(x) { |
| 15 return x; |
| 16 }; |
| 17 dart.fn(compile_time_constant12_test.use, dynamicTodynamic()); |
| 18 compile_time_constant12_test.main = function() { |
| 19 compile_time_constant12_test.use(compile_time_constant12_test.s); |
| 20 compile_time_constant12_test.use(compile_time_constant12_test.i); |
| 21 compile_time_constant12_test.use(compile_time_constant12_test.l); |
| 22 }; |
| 23 dart.fn(compile_time_constant12_test.main, VoidTodynamic()); |
| 24 // Exports: |
| 25 exports.compile_time_constant12_test = compile_time_constant12_test; |
| 26 }); |
OLD | NEW |