Index: pkg/front_end/testcases/inference/infer_generic_method_type_required.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_generic_method_type_required.dart.direct.expect b/pkg/front_end/testcases/inference/infer_generic_method_type_required.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8947a024dbe2b90be08e40ace85de507ed158051 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_generic_method_type_required.dart.direct.expect |
@@ -0,0 +1,14 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class C extends core::Object { |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ method m<T extends core::Object>(self::C::m::T x) → self::C::m::T |
+ return x; |
+} |
+static method main() → dynamic { |
+ dynamic y = new self::C::•().m(42); |
+} |