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

Unified Diff: pkg/front_end/testcases/inference/constructors_too_many_positional_arguments.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_too_many_positional_arguments.dart
diff --git a/pkg/front_end/testcases/inference/constructors_too_many_positional_arguments.dart b/pkg/front_end/testcases/inference/constructors_too_many_positional_arguments.dart
index e938e7206f3fb3287842134cbeb7b98887cb4c4d..2f393dfb412e049da87953a8865b99732aa6a8c5 100644
--- a/pkg/front_end/testcases/inference/constructors_too_many_positional_arguments.dart
+++ b/pkg/front_end/testcases/inference/constructors_too_many_positional_arguments.dart
@@ -8,6 +8,6 @@ library test;
class A<T> {}
main() {
- var /*@type=A<dynamic>*/ a = /*@typeArgs=dynamic*/ new A /*error:EXTRA_POSITIONAL_ARGUMENTS*/ (
- 42);
+ var /*@type=A<dynamic>*/ a =
+ new /*@typeArgs=dynamic*/ A /*error:EXTRA_POSITIONAL_ARGUMENTS*/ (42);
}

Powered by Google App Engine
This is Rietveld 408576698