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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.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/generic_methods_correctly_recognize_generic_upper_bound.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart b/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart
index 71a1ca6312c68eab7f66c41f2a0a40635d311ff7..0c7c768eb198658179343c99ab565fbdbeefdb67 100644
--- a/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_correctly_recognize_generic_upper_bound.dart
@@ -22,5 +22,7 @@ main() {
s = c;
*/
- new Foo<String>(). /*error:COULD_NOT_INFER*/ /*@typeArgs=int*/ method(42);
+ new Foo<String>()
+ . /*error:COULD_NOT_INFER*/ /*@typeArgs=int*/ /*@target=Foo::method*/ method(
+ 42);
}

Powered by Google App Engine
This is Rietveld 408576698