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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments.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.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
index 7fec7902813c3ed084543dc7eaf9ea119920c306..495df4cea9d6083d426da2b9f993fab0a69ba4d5 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments.dart
@@ -15,7 +15,7 @@ main() {
num y;
C<int> c_int = new /*@typeArgs=int*/ C(
- /*info:DOWN_CAST_IMPLICIT*/ /*@promotedType=none*/ y);
+ /*info:DOWN_CAST_IMPLICIT*/ y);
// These hints are not reported because we resolve with a null error listener.
C<num> c_num = new /*@typeArgs=num*/ C(123);
@@ -23,5 +23,5 @@ main() {
// Down't infer from explicit dynamic.
var /*@type=C<dynamic>*/ c_dynamic = new C<dynamic>(42);
- /*@promotedType=none*/ x.t = /*error:INVALID_ASSIGNMENT*/ 'hello';
+ x.t = /*error:INVALID_ASSIGNMENT*/ 'hello';
}

Powered by Google App Engine
This is Rietveld 408576698