Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: pkg/front_end/testcases/inference/inferred_type_uses_synthetic_function_type_named_param.dart.strong.expect

Issue 2915913004: Fix inference test annotation of named/optional parameters in function types. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/inferred_type_uses_synthetic_function_type_named_param.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/inferred_type_uses_synthetic_function_type_named_param.dart.strong.expect b/pkg/front_end/testcases/inference/inferred_type_uses_synthetic_function_type_named_param.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..301d19aba45f250a5a28df111e73882de7bc9743
--- /dev/null
+++ b/pkg/front_end/testcases/inference/inferred_type_uses_synthetic_function_type_named_param.dart.strong.expect
@@ -0,0 +1,12 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static field core::List<({x: core::int}) → core::Object> v = <({x: core::int}) → core::Object>[self::f, self::g];
+static method f({core::int x = null}) → core::int
+ return null;
+static method g({core::int x = null}) → core::String
+ return null;
+static method main() → dynamic {
+ self::v;
+}

Powered by Google App Engine
This is Rietveld 408576698