OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/class_override_test_none_multi', null, /* Imports
*/[ |
| 2 'dart_sdk' |
| 3 ], function load__class_override_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 class_override_test_none_multi = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 class_override_test_none_multi.A = class A extends core.Object { |
| 11 foo() {} |
| 12 }; |
| 13 dart.setSignature(class_override_test_none_multi.A, { |
| 14 methods: () => ({foo: dart.definiteFunctionType(dart.dynamic, [])}) |
| 15 }); |
| 16 class_override_test_none_multi.B = class B extends class_override_test_none_mu
lti.A {}; |
| 17 class_override_test_none_multi.main = function() { |
| 18 let instance = new class_override_test_none_multi.B(); |
| 19 try { |
| 20 instance.foo(); |
| 21 } finally { |
| 22 } |
| 23 core.print("Success"); |
| 24 }; |
| 25 dart.fn(class_override_test_none_multi.main, VoidTodynamic()); |
| 26 // Exports: |
| 27 exports.class_override_test_none_multi = class_override_test_none_multi; |
| 28 }); |
OLD | NEW |