OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/constant_locals_test_none_multi', null, /* Import
s */[ |
| 2 'dart_sdk' |
| 3 ], function load__constant_locals_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 constant_locals_test_none_multi = Object.create(null); |
| 9 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da
rt.void, [])))(); |
| 10 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 11 let const$; |
| 12 constant_locals_test_none_multi.main = function() { |
| 13 let c2 = 0; |
| 14 let c5 = constant_locals_test_none_multi.constField; |
| 15 let c8 = const$ || (const$ = dart.const(new constant_locals_test_none_multi.
Class())); |
| 16 }; |
| 17 dart.fn(constant_locals_test_none_multi.main, VoidTovoid()); |
| 18 constant_locals_test_none_multi.field = 0; |
| 19 constant_locals_test_none_multi.finalField = 0; |
| 20 constant_locals_test_none_multi.constField = 0; |
| 21 constant_locals_test_none_multi.method = function() { |
| 22 return 0; |
| 23 }; |
| 24 dart.fn(constant_locals_test_none_multi.method, VoidTodynamic()); |
| 25 constant_locals_test_none_multi.Class = class Class extends core.Object { |
| 26 new() { |
| 27 } |
| 28 }; |
| 29 dart.setSignature(constant_locals_test_none_multi.Class, { |
| 30 constructors: () => ({new: dart.definiteFunctionType(constant_locals_test_no
ne_multi.Class, [])}) |
| 31 }); |
| 32 // Exports: |
| 33 exports.constant_locals_test_none_multi = constant_locals_test_none_multi; |
| 34 }); |
OLD | NEW |