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

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

Issue 2883533002: Update expectations files to get more strong mode inference tests to pass. (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/generic_methods_infer_generic_method_type.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart.strong.expect b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..c7927d4f294aea02db4a90319bbe0e34115db365
--- /dev/null
+++ b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart.strong.expect
@@ -0,0 +1,22 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class C extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+ method m(dynamic x) → dynamic
+ return x;
+}
+class D extends self::C {
+ constructor •() → void
+ : super self::C::•()
+ ;
+ method m(dynamic x) → dynamic
+ return x;
+}
+static method main() → dynamic {
+ core::int y = new self::D::•().{self::D::m}(42);
+ core::print(y);
+}

Powered by Google App Engine
This is Rietveld 408576698