OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/field_override4_test_none_multi', null, /* Import
s */[ |
| 2 'dart_sdk', |
| 3 'expect' |
| 4 ], function load__field_override4_test_none_multi(exports, dart_sdk, expect) { |
| 5 'use strict'; |
| 6 const core = dart_sdk.core; |
| 7 const dart = dart_sdk.dart; |
| 8 const dartx = dart_sdk.dartx; |
| 9 const expect$ = expect.expect; |
| 10 const field_override4_test_none_multi = Object.create(null); |
| 11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 12 field_override4_test_none_multi.A = class A extends core.Object {}; |
| 13 field_override4_test_none_multi.B = class B extends field_override4_test_none_
multi.A { |
| 14 new() { |
| 15 this.foo = 42; |
| 16 } |
| 17 }; |
| 18 field_override4_test_none_multi.main = function() { |
| 19 expect$.Expect.equals(42, new field_override4_test_none_multi.B().foo); |
| 20 }; |
| 21 dart.fn(field_override4_test_none_multi.main, VoidTodynamic()); |
| 22 // Exports: |
| 23 exports.field_override4_test_none_multi = field_override4_test_none_multi; |
| 24 }); |
OLD | NEW |