Index: pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart.direct.expect b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a770f081dfd12c9611e86215dd75c8ba447d11ae |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart.direct.expect |
@@ -0,0 +1,10 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static method f<S extends core::Object, T extends core::Object>(self::f::S s) → self::f::T |
+ return null; |
+static method main() → dynamic { |
+ core::String x = self::f<dynamic, dynamic>(42); |
+ core::String y = self::f.call(42); |
+} |