OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/override_field_test_03_multi', null, /* Imports *
/[ |
| 2 'dart_sdk' |
| 3 ], function load__override_field_test_03_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 override_field_test_03_multi = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 override_field_test_03_multi.A = class A extends core.Object { |
| 11 new() { |
| 12 this.instanceFieldInA = null; |
| 13 } |
| 14 }; |
| 15 override_field_test_03_multi.A.staticFieldInA = null; |
| 16 override_field_test_03_multi.B = class B extends override_field_test_03_multi.
A { |
| 17 new() { |
| 18 super.new(); |
| 19 } |
| 20 }; |
| 21 dart.defineLazy(override_field_test_03_multi.B, { |
| 22 get staticFieldInA() { |
| 23 return null; |
| 24 }, |
| 25 set staticFieldInA(_) {} |
| 26 }); |
| 27 override_field_test_03_multi.main = function() { |
| 28 let x = new override_field_test_03_multi.B(); |
| 29 }; |
| 30 dart.fn(override_field_test_03_multi.main, VoidTodynamic()); |
| 31 // Exports: |
| 32 exports.override_field_test_03_multi = override_field_test_03_multi; |
| 33 }); |
OLD | NEW |