Index: pkg/front_end/lib/src/fasta/builder/named_type_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/builder/named_type_builder.dart b/pkg/front_end/lib/src/fasta/builder/named_type_builder.dart |
index 38ec00065d00f8aef756388db7670867e97920ea..9c302758aa979cb654a35e36a10f1a9b98b8de75 100644 |
--- a/pkg/front_end/lib/src/fasta/builder/named_type_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/builder/named_type_builder.dart |
@@ -41,7 +41,7 @@ abstract class NamedTypeBuilder<T extends TypeBuilder, R> extends TypeBuilder { |
String last = name.substring(name.lastIndexOf(".") + 1); |
var prefix = scope.lookup(first, charOffset, fileUri); |
if (prefix is PrefixBuilder) { |
- member = prefix.exports[last]; |
+ member = prefix.lookup(last, charOffset, fileUri); |
} |
if (member is TypeDeclarationBuilder) { |
builder = member; |