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

Unified Diff: sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 27008003: Handle clash of prefix/non-prefix imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased + updated cf. comments. 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/resolution/members.dart
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
index 2b94d1151ee33906d6c3a385e02d9a1e1c7c1b2d..b9a7b5d4375171ac9e3ecc0f87ad0d7a4622c566 100644
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -4474,6 +4474,7 @@ class ConstructorResolver extends CommonResolverVisitor<Element> {
} else if (identical(e.kind, ElementKind.PREFIX)) {
PrefixElement prefix = e;
e = prefix.lookupLocalMember(name.source);
+ e = Elements.unwrap(e, compiler, node);
if (e == null) {
return failOrReturnErroneousElement(
resolver.enclosingElement, name,
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/library_loader.dart ('k') | sdk/lib/_internal/compiler/implementation/warnings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698