Index: test/codegen/expect/language/setter_override2_test_03_multi.js |
diff --git a/test/codegen/expect/language/setter_override2_test_03_multi.js b/test/codegen/expect/language/setter_override2_test_03_multi.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1e6a9d0878b10b8c72359bde096130b64e14fc32 |
--- /dev/null |
+++ b/test/codegen/expect/language/setter_override2_test_03_multi.js |
@@ -0,0 +1,31 @@ |
+dart_library.library('language/setter_override2_test_03_multi', null, /* Imports */[ |
+ 'dart_sdk', |
+ 'expect' |
+], function load__setter_override2_test_03_multi(exports, dart_sdk, expect) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const expect$ = expect.expect; |
+ const setter_override2_test_03_multi = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ setter_override2_test_03_multi.A = class A extends core.Object { |
+ set foo(value) {} |
+ }; |
+ setter_override2_test_03_multi.B = class B extends setter_override2_test_03_multi.A { |
+ new() { |
+ this.foo_ = null; |
+ } |
+ set foo(value) { |
+ this.foo_ = value; |
+ } |
+ }; |
+ setter_override2_test_03_multi.main = function() { |
+ let b = new setter_override2_test_03_multi.B(); |
+ b.foo = 42; |
+ expect$.Expect.equals(42, b.foo_); |
+ }; |
+ dart.fn(setter_override2_test_03_multi.main, VoidTodynamic()); |
+ // Exports: |
+ exports.setter_override2_test_03_multi = setter_override2_test_03_multi; |
+}); |