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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 27008003: Handle clash of prefix/non-prefix imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add test. Created 7 years, 2 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: sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index d0e370e0d931ee91b9de4b4e6b343ca30b2b3ab6..6485e7d9ed1b1fc5bdceb3008bc24bbce6e13efc 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -700,7 +700,7 @@ abstract class LibraryElement extends Element implements ScopeContainerElement {
}
abstract class PrefixElement extends Element {
- Map<SourceString, Element> get imported;
+ void addImport(Element element, Import import, DiagnosticListener listener);
Element lookupLocalMember(SourceString memberName);
}

Powered by Google App Engine
This is Rietveld 408576698