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

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

Issue 2846463003: Instrument analyzer's type analysis and run front_end inference tests. (Closed)
Patch Set: Updates. Created 3 years, 8 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 4d0cfc0d4ce4a5b54152b207a33a029d3eeaed55..0bff9b787171174f1e3a81f164332c07072b5fb6 100644
--- a/pkg/front_end/testcases/inference/type_promotion_simple.dart
+++ b/pkg/front_end/testcases/inference/type_promotion_simple.dart
@@ -6,6 +6,6 @@
main() {
num n = null;
if (/*@promotedType=none*/ n is int) {
- var /*@type=dart.core::int*/ i = /*@promotedType=dart.core::int*/ n;
+ var /*@type=int*/ i = /*@promotedType=int*/ n;
}
}

Powered by Google App Engine
This is Rietveld 408576698