Index: pkg/front_end/testcases/inference/generic_methods_infer_generic_function_return_type.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_return_type.dart.direct.expect b/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_return_type.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b1319ff23305a9c24f4c04c2664f1ee1f4ba17de |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/generic_methods_infer_generic_function_return_type.dart.direct.expect |
@@ -0,0 +1,19 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+typedef F<V extends core::Object> = () → V; |
+class C<T extends core::Object> extends self::D<self::C::T> { |
+ default constructor •() → void |
+ : super self::D::•() |
+ ; |
+ method f<U extends core::Object>(dynamic x) → dynamic {} |
+} |
+class D<T extends core::Object> extends core::Object { |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ method f<U extends core::Object>(self::D::f::U u) → () → self::D::f::U |
+ return null; |
+} |
+static method main() → dynamic {} |