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

Unified Diff: pkg/front_end/testcases/inference/string_literal.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/string_literal.dart
diff --git a/pkg/front_end/testcases/inference/string_literal.dart b/pkg/front_end/testcases/inference/string_literal.dart
index ee8a6fe41f05c1cf29fea5429297188a3418a077..8261e2b4afdce4f21bbd78c83c2170742751b57c 100644
--- a/pkg/front_end/testcases/inference/string_literal.dart
+++ b/pkg/front_end/testcases/inference/string_literal.dart
@@ -13,6 +13,6 @@ var /*@topType=String*/ c = 'c ${x} cc' 'ccc';
main() {
var /*@type=int*/ x = 1;
var /*@type=String*/ a = 'aaa';
- var /*@type=String*/ b = 'b ${/*@promotedType=none*/x} bb';
- var /*@type=String*/ c = 'c ${/*@promotedType=none*/x} cc' 'ccc';
+ var /*@type=String*/ b = 'b ${x} bb';
+ var /*@type=String*/ c = 'c ${x} cc' 'ccc';
}

Powered by Google App Engine
This is Rietveld 408576698