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

Unified Diff: compiler/java/com/google/dart/compiler/parser/DartParser.java

Issue 9633009: Use Element instead of Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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/parser/DartParser.java
diff --git a/compiler/java/com/google/dart/compiler/parser/DartParser.java b/compiler/java/com/google/dart/compiler/parser/DartParser.java
index 371a2c5a967360073b5d05da48da2da7f9b397b1..0fc36b335e28c5e9b3d8859c1d8754043df374a2 100644
--- a/compiler/java/com/google/dart/compiler/parser/DartParser.java
+++ b/compiler/java/com/google/dart/compiler/parser/DartParser.java
@@ -2540,7 +2540,7 @@ public class DartParser extends CompletionHooksParserBase {
boolean hasPrefix = false;
DartTypeNode part1 = parts.get(0);
DartTypeNode part2 = parts.get(1);
- if (prefixes.contains(((DartIdentifier) part1.getIdentifier()).getTargetName())) {
+ if (prefixes.contains(((DartIdentifier) part1.getIdentifier()).getName())) {
hasPrefix = true;
}
if (!part2.getTypeArguments().isEmpty()) {

Powered by Google App Engine
This is Rietveld 408576698