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