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

Unified Diff: compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java

Issue 10660028: Issue 3789. Resolve library prefix for LibraryElement for field and function references. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/resolver/Resolver.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java
diff --git a/compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java b/compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java
index e506c5491af221f95eabf20ebfa3cc0588b7baed..21e4c75965b0b2c7753a16517488e62c206b7833 100644
--- a/compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java
+++ b/compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java
@@ -80,7 +80,7 @@ public class LibraryDepsVisitor extends ASTVisitor<Void> {
if (node.getQualifier() instanceof DartIdentifier) {
DartIdentifier qualifier = (DartIdentifier) node.getQualifier();
Element target = qualifier.getElement();
- if (target != null && target.getKind() == ElementKind.LIBRARY_PREFIX) {
+ if (target != null && target.getKind() == ElementKind.LIBRARY) {
// Handle library prefixes normally.
// The prefix part of the qualifier doesn't contain any resolvable library source info.
return super.visitPropertyAccess(node);
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/resolver/Resolver.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698