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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_for_each.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_for_each.dart
diff --git a/pkg/front_end/testcases/inference/downwards_inference_for_each.dart b/pkg/front_end/testcases/inference/downwards_inference_for_each.dart
index cdd78e00df4fa2231395416ceda1ba2f2d6b6228..d1c212ab9adf9ce830adeb9380e51960802ba825 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_for_each.dart
+++ b/pkg/front_end/testcases/inference/downwards_inference_for_each.dart
@@ -14,5 +14,5 @@ abstract class MyStream<T> extends Stream<T> {
Future main() async {
for (int /*@promotedType=none*/ x in /*@typeArgs=int*/ [1, 2, 3]) {}
await for (int /*@promotedType=none*/ x
- in /*@typeArgs=int*/ new MyStream()) {}
+ in new /*@typeArgs=int*/ MyStream()) {}
}

Powered by Google App Engine
This is Rietveld 408576698