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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/Elements.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/resolver/Elements.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/Elements.java b/compiler/java/com/google/dart/compiler/resolver/Elements.java
index b95d48cd61da7120003192662e85f909a7290c82..14357c7baa61e292ac2dbdfee7a04d19190e86f3 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Elements.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Elements.java
@@ -91,8 +91,8 @@ public class Elements {
((LibraryElementImplementation) element).setMetadata(metadata);
}
- public static void addExportedElement(LibraryElement libraryElement, Element element) {
- ((LibraryElementImplementation) libraryElement).addExportedElements(element);
+ public static Element addExportedElement(LibraryElement libraryElement, Element element) {
+ return ((LibraryElementImplementation) libraryElement).addExportedElements(element);
}
public static LibraryElement getLibraryElement(Element element) {

Powered by Google App Engine
This is Rietveld 408576698