OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/static_final_field2_test_none_multi', null, /* Im
ports */[ |
| 2 'dart_sdk' |
| 3 ], function load__static_final_field2_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 static_final_field2_test_none_multi = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 static_final_field2_test_none_multi.A = class A extends core.Object {}; |
| 11 static_final_field2_test_none_multi.A.x = 1; |
| 12 static_final_field2_test_none_multi.B = class B extends core.Object { |
| 13 new() { |
| 14 this.n = 5; |
| 15 } |
| 16 }; |
| 17 dart.setSignature(static_final_field2_test_none_multi.B, { |
| 18 constructors: () => ({new: dart.definiteFunctionType(static_final_field2_tes
t_none_multi.B, [])}) |
| 19 }); |
| 20 static_final_field2_test_none_multi.B.b = 3 + 5; |
| 21 static_final_field2_test_none_multi.main = function() { |
| 22 new static_final_field2_test_none_multi.B(); |
| 23 core.print(static_final_field2_test_none_multi.B.b); |
| 24 }; |
| 25 dart.fn(static_final_field2_test_none_multi.main, VoidTodynamic()); |
| 26 // Exports: |
| 27 exports.static_final_field2_test_none_multi = static_final_field2_test_none_mu
lti; |
| 28 }); |
OLD | NEW |