Index: pkg/front_end/testcases/inference/infer_method_function_typed.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_method_function_typed.dart.direct.expect b/pkg/front_end/testcases/inference/infer_method_function_typed.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c04e311620647cc032088bb6893f6d9295f7aa2b |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_method_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 method x(() → core::int value) → void; |
+} |
+abstract class B extends self::A { |
+ constructor •() → void |
+ : super self::A::•() |
+ ; |
+ abstract method 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 {} |