Index: test/codegen/expect/language/override_inheritance_no_such_method_test_03_multi.js |
diff --git a/test/codegen/expect/language/override_inheritance_no_such_method_test_03_multi.js b/test/codegen/expect/language/override_inheritance_no_such_method_test_03_multi.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..782988eb604540467135f608d2117748fb04ef13 |
--- /dev/null |
+++ b/test/codegen/expect/language/override_inheritance_no_such_method_test_03_multi.js |
@@ -0,0 +1,35 @@ |
+dart_library.library('language/override_inheritance_no_such_method_test_03_multi', null, /* Imports */[ |
+ 'dart_sdk' |
+], function load__override_inheritance_no_such_method_test_03_multi(exports, dart_sdk) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const override_inheritance_no_such_method_test_03_multi = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ override_inheritance_no_such_method_test_03_multi.A = class A extends core.Object {}; |
+ override_inheritance_no_such_method_test_03_multi.I = class I extends core.Object {}; |
+ override_inheritance_no_such_method_test_03_multi.Class1 = dart.callableClass(function Class1(...args) { |
+ const self = this; |
+ function call(...args) { |
+ return self.call.apply(self, args); |
+ } |
+ call.__proto__ = this.__proto__; |
+ call.new.apply(call, args); |
+ return call; |
+ }, class Class1 extends override_inheritance_no_such_method_test_03_multi.A { |
+ noSuchMethod(_) { |
+ return null; |
+ } |
+ }); |
+ override_inheritance_no_such_method_test_03_multi.Class1[dart.implements] = () => [override_inheritance_no_such_method_test_03_multi.I]; |
+ override_inheritance_no_such_method_test_03_multi.B = class B extends core.Object {}; |
+ override_inheritance_no_such_method_test_03_multi.Class2 = class Class2 extends override_inheritance_no_such_method_test_03_multi.B {}; |
+ override_inheritance_no_such_method_test_03_multi.main = function() { |
+ new override_inheritance_no_such_method_test_03_multi.Class1(); |
+ new override_inheritance_no_such_method_test_03_multi.Class2(); |
+ }; |
+ dart.fn(override_inheritance_no_such_method_test_03_multi.main, VoidTodynamic()); |
+ // Exports: |
+ exports.override_inheritance_no_such_method_test_03_multi = override_inheritance_no_such_method_test_03_multi; |
+}); |