Index: compiler/java/com/google/dart/compiler/resolver/Resolver.java |
diff --git a/compiler/java/com/google/dart/compiler/resolver/Resolver.java b/compiler/java/com/google/dart/compiler/resolver/Resolver.java |
index 052c1158fc67598904fb4548cfe8275bb849a677..c5d56eee6f6fad12850ca1ed269a4a1156070165 100644 |
--- a/compiler/java/com/google/dart/compiler/resolver/Resolver.java |
+++ b/compiler/java/com/google/dart/compiler/resolver/Resolver.java |
@@ -1221,6 +1221,7 @@ public class Resolver { |
} else { |
checkInvocationTarget(x, currentMethod, element); |
} |
+ recordElement(x, element); |
recordElement(x.getTarget(), element); |
visit(x.getArguments()); |
return null; |