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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_const.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_const.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const.dart
index b8ea18ab389492f0553e6ebe7bebd5e318d8b013..873d63ebd86a566ff71b5156e50a3cf036da3b0f 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const.dart
@@ -11,5 +11,5 @@ class C<T> {
}
main() {
- var /*@type=C<int>*/ x = /*@typeArgs=int*/ const C(42);
+ var /*@type=C<int>*/ x = const /*@typeArgs=int*/ C(42);
}

Powered by Google App Engine
This is Rietveld 408576698