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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/Resolver.java

Issue 10516006: Issue 3268. Support for replacing 'assert' statement with 'assert' function (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes for review comments Created 8 years, 6 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: 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;

Powered by Google App Engine
This is Rietveld 408576698