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

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

Issue 2865403007: Get rid of promotedType=none annotations (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
diff --git a/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
index 931bbaa63e5e88e20a81427b32c81719d438390d..db2f883c5b2610a2f15b30e4dcd14c61d84f42c6 100644
--- a/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
@@ -6,14 +6,14 @@
library test;
class C {
- T m<T>(T x) => /*@promotedType=none*/ x;
+ T m<T>(T x) => x;
}
class D extends C {
- m<S>(x) => /*@promotedType=none*/ x;
+ m<S>(x) => x;
}
main() {
int y = new D(). /*@target=D::m*/ m<int>(42);
- print(/*@promotedType=none*/ y);
+ print(y);
}

Powered by Google App Engine
This is Rietveld 408576698