Index: test/codegen/expect/language/final_super_field_set_test_none_multi.js |
diff --git a/test/codegen/expect/language/final_super_field_set_test_none_multi.js b/test/codegen/expect/language/final_super_field_set_test_none_multi.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..551e6b08ca793cee57772ee730715420a0101448 |
--- /dev/null |
+++ b/test/codegen/expect/language/final_super_field_set_test_none_multi.js |
@@ -0,0 +1,40 @@ |
+dart_library.library('language/final_super_field_set_test_none_multi', null, /* Imports */[ |
+ 'dart_sdk' |
+], function load__final_super_field_set_test_none_multi(exports, dart_sdk) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const final_super_field_set_test_none_multi = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ final_super_field_set_test_none_multi.SuperClass = dart.callableClass(function SuperClass(...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 SuperClass extends core.Object { |
+ new() { |
+ this.field = 0; |
+ } |
+ noSuchMethod(_) { |
+ return 42; |
+ } |
+ }); |
+ final_super_field_set_test_none_multi.Class = class Class extends final_super_field_set_test_none_multi.SuperClass { |
+ new() { |
+ super.new(); |
+ } |
+ m() {} |
+ }; |
+ dart.setSignature(final_super_field_set_test_none_multi.Class, { |
+ methods: () => ({m: dart.definiteFunctionType(dart.dynamic, [])}) |
+ }); |
+ final_super_field_set_test_none_multi.main = function() { |
+ }; |
+ dart.fn(final_super_field_set_test_none_multi.main, VoidTodynamic()); |
+ // Exports: |
+ exports.final_super_field_set_test_none_multi = final_super_field_set_test_none_multi; |
+}); |