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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.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/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart
diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart b/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart
index 9607c65cf8de7d33a83a93846f5884535fc9f0f3..87a55c6156e2b9745abfa4844ff300d07ed5a8b8 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart
+++ b/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart
@@ -30,7 +30,7 @@ abstract class C {
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
assertDOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
- /*@promotedType=none*/ assertEOf(
+ assertEOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
}
}
@@ -46,7 +46,7 @@ abstract class G<T> {
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
this.assertDOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
- /*@promotedType=none*/ assertEOf(
+ assertEOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
}
}
@@ -56,7 +56,7 @@ AsserterBuilder<List<Asserter<DartType>>, DartType> get assertCOf => null;
main() {
AsserterBuilder<List<Asserter<DartType>>, DartType> assertAOf;
- /*@promotedType=none*/ assertAOf(
+ assertAOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
assertBOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
@@ -68,14 +68,14 @@ main() {
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
C c;
- /*@promotedType=none*/ c.assertAOf(
+ c.assertAOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
- /*@promotedType=none*/ c.assertDOf(
+ c.assertDOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
G<int> g;
- /*@promotedType=none*/ g.assertAOf(
+ g.assertAOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
- /*@promotedType=none*/ g.assertDOf(
+ g.assertDOf(
/*@typeArgs=<DartType>(DartType) -> void*/ [_isInt, _isString]);
}

Powered by Google App Engine
This is Rietveld 408576698