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

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

Issue 2867113002: Update expectations for instance creations to match front_end. (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_redirecting_factory.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart
index a614f38c31a71b0b951d81ad1624bb11c2a48bad..da3d4db9d448262c23872a6ecef09d6c2c6eadf0 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting_factory.dart
@@ -18,5 +18,5 @@ class CImpl<T> implements C<T> {
}
main() {
- var /*@type=C<int>*/ x = /*@typeArgs=int*/ new C(42);
+ var /*@type=C<int>*/ x = new /*@typeArgs=int*/ C(42);
}

Powered by Google App Engine
This is Rietveld 408576698