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/type_promotion_simple.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/type_promotion_simple.dart
diff --git a/pkg/front_end/testcases/inference/type_promotion_simple.dart b/pkg/front_end/testcases/inference/type_promotion_simple.dart
index 49f3e5198ce771cede4d7b6ee8f63867df46c79f..1e09fa88489c22a0617783e5ba81f48fed988a30 100644
--- a/pkg/front_end/testcases/inference/type_promotion_simple.dart
+++ b/pkg/front_end/testcases/inference/type_promotion_simple.dart
@@ -7,7 +7,7 @@ library test;
main() {
num n = null;
- if (/*@promotedType=none*/ n is int) {
+ if (n is int) {
var /*@type=int*/ i = /*@promotedType=int*/ n;
}
}

Powered by Google App Engine
This is Rietveld 408576698