Index: test/codegen/expect/language/override_inheritance_no_such_method_test_11_multi.js |
diff --git a/test/codegen/expect/language/override_inheritance_no_such_method_test_11_multi.js b/test/codegen/expect/language/override_inheritance_no_such_method_test_11_multi.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d8aeec98b6cc31e17b38ee197eba9fb610851359 |
--- /dev/null |
+++ b/test/codegen/expect/language/override_inheritance_no_such_method_test_11_multi.js |
@@ -0,0 +1,35 @@ |
+dart_library.library('language/override_inheritance_no_such_method_test_11_multi', null, /* Imports */[ |
+ 'dart_sdk' |
+], function load__override_inheritance_no_such_method_test_11_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_11_multi = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ override_inheritance_no_such_method_test_11_multi.A = class A extends core.Object {}; |
+ override_inheritance_no_such_method_test_11_multi.I = class I extends core.Object {}; |
+ override_inheritance_no_such_method_test_11_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_11_multi.A { |
+ noSuchMethod(_) { |
+ return null; |
+ } |
+ }); |
+ override_inheritance_no_such_method_test_11_multi.Class1[dart.implements] = () => [override_inheritance_no_such_method_test_11_multi.I]; |
+ override_inheritance_no_such_method_test_11_multi.B = class B extends core.Object {}; |
+ override_inheritance_no_such_method_test_11_multi.Class2 = class Class2 extends override_inheritance_no_such_method_test_11_multi.B {}; |
+ override_inheritance_no_such_method_test_11_multi.main = function() { |
+ new override_inheritance_no_such_method_test_11_multi.Class1(); |
+ new override_inheritance_no_such_method_test_11_multi.Class2(); |
+ }; |
+ dart.fn(override_inheritance_no_such_method_test_11_multi.main, VoidTodynamic()); |
+ // Exports: |
+ exports.override_inheritance_no_such_method_test_11_multi = override_inheritance_no_such_method_test_11_multi; |
+}); |