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

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

Issue 2846883005: Rollback instrumentation during analysis and validate resolved ASTs instead. (Closed)
Patch Set: 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/local_constructor_from_arguments.dart
diff --git a/pkg/front_end/testcases/inference/local_constructor_from_arguments.dart b/pkg/front_end/testcases/inference/local_constructor_from_arguments.dart
index 62baee35a5f1efeb4dee823ebf0ba5d87a39aefb..18c6dd11b60720740ae4b4e37cce64d3288faef9 100644
--- a/pkg/front_end/testcases/inference/local_constructor_from_arguments.dart
+++ b/pkg/front_end/testcases/inference/local_constructor_from_arguments.dart
@@ -11,13 +11,13 @@ class C<T> {
}
main() {
- var /*@type=C<int>*/ x = /*@type=C<int>*/ new C(42);
+ var /*@type=C<int>*/ x = /*@typeArgs=int*/ new C(42);
num y;
- C<int> c_int = /*@type=C<int>*/ new C(
+ C<int> c_int = /*@typeArgs=int*/ new C(
/*info:DOWN_CAST_IMPLICIT*/ /*@promotedType=none*/ y);
- C<num> c_num = /*@type=C<num>*/ new C(123);
+ C<num> c_num = /*@typeArgs=num*/ new C(123);
// Don't infer from explicit dynamic.
var /*@type=C<dynamic>*/ c_dynamic = new C<dynamic>(42);

Powered by Google App Engine
This is Rietveld 408576698