Chromium Code Reviews

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

Issue 2868133002: Fix annotation of promoted parameters in Fasta inference tests. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 946577c905b32832460e0da06ff7a7ff2bf5fb0f..d483c9a5b5d75fc6863a63539adcd66d36586df6 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,11 +6,11 @@
library test;
class C {
- T m<T>(T x) => x;
+ T m<T>(T x) => /*@promotedType=none*/ x;
}
class D extends C {
- m<S>(x) => x;
+ m<S>(x) => /*@promotedType=none*/ x;
}
main() {

Powered by Google App Engine