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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_async_await.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/downwards_inference_async_await.dart
diff --git a/pkg/front_end/testcases/inference/downwards_inference_async_await.dart b/pkg/front_end/testcases/inference/downwards_inference_async_await.dart
index 9d81c0239250059d55a32e676e8a631ff7e14ca3..8ae3d5c50b2360af59892e8416b59c783008f388 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_async_await.dart
+++ b/pkg/front_end/testcases/inference/downwards_inference_async_await.dart
@@ -11,6 +11,6 @@ Future test() async {
dynamic d;
List<int> l0 =
await /*@typeArgs=int*/ [/*info:DYNAMIC_CAST*/ /*@promotedType=none*/ d];
- List<int> l1 = await /*@typeArgs=List<int>*/ new Future.value(
+ List<int> l1 = await new /*@typeArgs=List<int>*/ Future.value(
/*@typeArgs=dynamic*/ [/*@promotedType=none*/ d]);
}

Powered by Google App Engine
This is Rietveld 408576698