Index: pkg/front_end/testcases/runtime_checks/dynamic_invocation_of_getter.dart.direct.expect |
diff --git a/pkg/front_end/testcases/runtime_checks/dynamic_invocation_of_getter.dart.direct.expect b/pkg/front_end/testcases/runtime_checks/dynamic_invocation_of_getter.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5441e5e26220ebfc2500b172676ce59d19c390e8 |
--- /dev/null |
+++ b/pkg/front_end/testcases/runtime_checks/dynamic_invocation_of_getter.dart.direct.expect |
@@ -0,0 +1,18 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class C extends core::Object { |
+ field dynamic f; |
+ constructor •(dynamic f) → void |
+ : self::C::f = f, super core::Object::•() |
+ ; |
+} |
+static method g(self::C c) → void { |
+ c.f(1.5); |
+} |
+static method h(core::int i) → void {} |
+static method test() → void { |
+ self::g(new self::C::•(self::h)); |
+} |
+static method main() → dynamic {} |