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

Unified Diff: pkg/compiler/lib/src/resolution/members.dart

Issue 2535373003: Resolve type arguments to generic methods. (Closed)
Patch Set: Created 4 years 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/compiler/lib/src/resolution/members.dart
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart
index f566e405dcc5eb6b5fa34bfa8aa3739bfb8f5867..abbf93f5d59d1e412a0092d9a45bf6f6e1ade961 100644
--- a/pkg/compiler/lib/src/resolution/members.dart
+++ b/pkg/compiler/lib/src/resolution/members.dart
@@ -3006,6 +3006,8 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
}
ResolutionResult visitSend(Send node) {
+ // Resolve type arguments to ensure that these are well-formed types.
+ visit(node.typeArgumentsNode);
eernst 2016/11/30 10:39:01 I basically buy the argument that we can reject "m
Johnni Winther 2016/11/30 11:51:03 Acknowledged.
if (node.isOperator) {
// `a && b`, `a + b`, `-a`, or `a is T`.
return handleOperatorSend(node);

Powered by Google App Engine
This is Rietveld 408576698