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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.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/constructors_infer_from_arguments_const_with_upper_bound.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart
index 49aabc9180ae4fc7eddf5ecef4ab035a7879b17b..e5989ea7b410c0ef646e7edbb431891293b9a707 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart
@@ -16,6 +16,6 @@ class D<T extends num> {
void f() {
const /*@type=C<int>*/ c = const /*@typeArgs=int*/ C(0);
- C<int> c2 = /*@promotedType=none*/ c;
+ C<int> c2 = c;
const D<int> d = const /*@typeArgs=int*/ D();
}

Powered by Google App Engine
This is Rietveld 408576698