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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.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_factory_calls_constructor.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart
index 2107d02dd3c87cc749b78054acb05a4bfb560a8e..4769d46b2129f1babc2ef1ded244d78d5c7419f8 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_factory_calls_constructor.dart
@@ -6,8 +6,8 @@
library test;
class A<T> {
- A<T> f = /*@typeArgs=T*/ new A();
+ A<T> f = new /*@typeArgs=T*/ A();
A();
- factory A.factory() => /*@typeArgs=T*/ new A();
- A<T> m() => /*@typeArgs=T*/ new A();
+ factory A.factory() => new /*@typeArgs=T*/ A();
+ A<T> m() => new /*@typeArgs=T*/ A();
}

Powered by Google App Engine
This is Rietveld 408576698