Index: pkg/front_end/testcases/inference/infer_setter_function_typed.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_setter_function_typed.dart.direct.expect b/pkg/front_end/testcases/inference/infer_setter_function_typed.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d6040515329e1bb832cb9ba44d4ff6aa175e8e5b |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_setter_function_typed.dart.direct.expect |
@@ -0,0 +1,23 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+typedef F = () → core::int; |
+abstract class A extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ abstract set x(() → core::int value) → void; |
+} |
+abstract class B extends self::A { |
+ constructor •() → void |
+ : super self::A::•() |
+ ; |
+ abstract set x(() → dynamic value) → void; |
+} |
+static method f<T extends core::Object>() → self::f::T |
+ return null; |
+static method g(self::B b) → dynamic { |
+ b.x = self::f<dynamic>(); |
+} |
+static method main() → dynamic {} |