Index: test/codegen/expect/language/static_getter_no_setter3_test_none_multi.js |
diff --git a/test/codegen/expect/language/static_getter_no_setter3_test_none_multi.js b/test/codegen/expect/language/static_getter_no_setter3_test_none_multi.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..56d078c7fff435e8dd7d0587b1859dcf42a1c9d1 |
--- /dev/null |
+++ b/test/codegen/expect/language/static_getter_no_setter3_test_none_multi.js |
@@ -0,0 +1,39 @@ |
+dart_library.library('language/static_getter_no_setter3_test_none_multi', null, /* Imports */[ |
+ 'dart_sdk' |
+], function load__static_getter_no_setter3_test_none_multi(exports, dart_sdk) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const static_getter_no_setter3_test_none_multi = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ static_getter_no_setter3_test_none_multi.getter_visited = false; |
+ static_getter_no_setter3_test_none_multi.Class = class Class extends core.Object { |
+ method() { |
+ try { |
+ } catch (e) { |
+ if (core.NoSuchMethodError.is(e)) { |
+ return; |
+ } else |
+ throw e; |
+ } |
+ |
+ } |
+ }; |
+ dart.setSignature(static_getter_no_setter3_test_none_multi.Class, { |
+ methods: () => ({method: dart.definiteFunctionType(dart.dynamic, [])}) |
+ }); |
+ dart.defineLazy(static_getter_no_setter3_test_none_multi.Class, { |
+ get getter() { |
+ return core.int._check(dart.fn(() => { |
+ static_getter_no_setter3_test_none_multi.getter_visited = true; |
+ }, VoidTodynamic())()); |
+ } |
+ }); |
+ static_getter_no_setter3_test_none_multi.main = function() { |
+ new static_getter_no_setter3_test_none_multi.Class().method(); |
+ }; |
+ dart.fn(static_getter_no_setter3_test_none_multi.main, VoidTodynamic()); |
+ // Exports: |
+ exports.static_getter_no_setter3_test_none_multi = static_getter_no_setter3_test_none_multi; |
+}); |