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

Unified Diff: pkg/front_end/testcases/inference/null_coalescing_operator.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/null_coalescing_operator.dart
diff --git a/pkg/front_end/testcases/inference/null_coalescing_operator.dart b/pkg/front_end/testcases/inference/null_coalescing_operator.dart
index 7821f5c4fa04f408af2ecc7ad5d6d4e39776ce49..952477e2f7f18b62c886ddaccaa9cdfe8b671f2a 100644
--- a/pkg/front_end/testcases/inference/null_coalescing_operator.dart
+++ b/pkg/front_end/testcases/inference/null_coalescing_operator.dart
@@ -7,6 +7,6 @@ library test;
main() {
List<int> x;
- var /*@type=List<int>*/ y = /*@promotedType=none*/ x ?? /*@typeArgs=int*/ [];
- List<int> z = /*@promotedType=none*/ y;
+ var /*@type=List<int>*/ y = x ?? /*@typeArgs=int*/ [];
+ List<int> z = y;
}

Powered by Google App Engine
This is Rietveld 408576698