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

Unified Diff: compiler/java/com/google/dart/compiler/ast/LibraryNode.java

Issue 11308173: Issue 6824. Re-export of conflicting elements is error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/ast/LibraryNode.java
diff --git a/compiler/java/com/google/dart/compiler/ast/LibraryNode.java b/compiler/java/com/google/dart/compiler/ast/LibraryNode.java
index 31407d8ce67018ba03e2a1ffa9b4cd6a7e042e3b..5a98e6682828c21988190a7f2792c2690e757020 100644
--- a/compiler/java/com/google/dart/compiler/ast/LibraryNode.java
+++ b/compiler/java/com/google/dart/compiler/ast/LibraryNode.java
@@ -33,6 +33,7 @@ public class LibraryNode extends AbstractNode {
}
public LibraryNode(DartImportDirective importDirective) {
+ setSourceInfo(importDirective.getSourceInfo());
this.text = importDirective.getLibraryUri().getValue();
this.prefix = importDirective.getPrefixValue();
this.combinators = importDirective.getCombinators();
@@ -40,12 +41,13 @@ public class LibraryNode extends AbstractNode {
}
public LibraryNode(DartExportDirective exportDirective) {
+ setSourceInfo(exportDirective.getSourceInfo());
this.text = exportDirective.getLibraryUri().getValue();
this.prefix = null;
this.combinators = exportDirective.getCombinators();
this.exported = false;
}
-
+
public String getText() {
return text;
}

Powered by Google App Engine
This is Rietveld 408576698