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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.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_with_upper_bound.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart
index 97e5d0bc1d3d9e90128d6606d651904617cf2caa..49aabc9180ae4fc7eddf5ecef4ab035a7879b17b 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_const_with_upper_bound.dart
@@ -15,7 +15,7 @@ class D<T extends num> {
}
void f() {
- const /*@type=C<int>*/ c = /*@typeArgs=int*/ const C(0);
+ const /*@type=C<int>*/ c = const /*@typeArgs=int*/ C(0);
C<int> c2 = /*@promotedType=none*/ c;
- const D<int> d = /*@typeArgs=int*/ const D();
+ const D<int> d = const /*@typeArgs=int*/ D();
}

Powered by Google App Engine
This is Rietveld 408576698