Index: pkg/front_end/testcases/inference/infer_generic_method_type_positional.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/infer_generic_method_type_positional.dart.direct.expect b/pkg/front_end/testcases/inference/infer_generic_method_type_positional.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0b7234be644965a225c73d90b9ebac212d6363c0 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_generic_method_type_positional.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>(core::int a, [self::C::m::T b = null]) → self::C::m::T |
+ return null; |
+} |
+static method main() → dynamic { |
+ dynamic y = new self::C::•().m(1, 2.0); |
+} |