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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.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. 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_correctly_recognize_generic_upper_bound.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart b/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart
index 069d5a3b8bec58882ec8f059fc499fb79ff58ebb..fa1ee694de8eed191fbbd74a48b7ab6a26c2480d 100644
--- a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart
@@ -6,7 +6,7 @@
library test;
class Foo<T extends Pattern> {
- U method<U extends T>(U u) => u;
+ U method<U extends T>(U u) => /*@promotedType=none*/ u;
}
main() {

Powered by Google App Engine
This is Rietveld 408576698