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

Unified Diff: pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting.dart

Issue 2874033003: Set MethodInvocation.interfaceTarget during type inference. (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_redirecting.dart
diff --git a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting.dart b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting.dart
index ea6f47274e857cc012d598185b8ebbd7cd6bd8b8..d46e640384473bbf99b6ee9c4b127d354dea5e80 100644
--- a/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting.dart
+++ b/pkg/front_end/testcases/inference/constructors_infer_from_arguments_redirecting.dart
@@ -8,7 +8,7 @@ library test;
class C<T> {
T t;
C(this.t);
- C.named(List<T> t) : this(/*@promotedType=none*/ t[0]);
+ C.named(List<T> t) : this(/*@promotedType=none*/ t /*@target=List::[]*/ [0]);
}
main() {

Powered by Google App Engine
This is Rietveld 408576698