Index: pkg/front_end/testcases/local_generic_function.dart.direct.expect |
diff --git a/pkg/front_end/testcases/local_generic_function.dart.direct.expect b/pkg/front_end/testcases/local_generic_function.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..204a1a3dc80a919b8f7cf5efa9bef427c3fe65d3 |
--- /dev/null |
+++ b/pkg/front_end/testcases/local_generic_function.dart.direct.expect |
@@ -0,0 +1,9 @@ |
+library; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static method main() → dynamic { |
+ function f<T extends core::Object>(core::List<T> l) → T |
+ return l.[](0); |
+ dynamic x = f.call(<dynamic>[0]); |
+} |