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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_argument_not_assignable.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_argument_not_assignable.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_argument_not_assignable.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_argument_not_assignable.dart
index d76aff3dccf88f7ff87dff35860e6da8bd3ca97e..0bc60579d4f0c3cce307d80dadf854caa63dd8d0 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_argument_not_assignable.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_argument_not_assignable.dart
@@ -18,6 +18,6 @@ class NotA {}
NotA myF() => null;
main() {
- var /*@type=C<NotA>*/ x = /*@typeArgs=NotA*/ new /*error:COULD_NOT_INFER*/ C(
- myF);
+ var /*@type=C<NotA>*/ x =
+ new /*error:COULD_NOT_INFER*/ /*@typeArgs=NotA*/ C(myF);
}

Powered by Google App Engine
This is Rietveld 408576698