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

Unified Diff: pkg/front_end/lib/src/fasta/builder/named_type_builder.dart

Issue 2788913002: Prepare for separate setter scope. (Closed)
Patch Set: Address comments. Created 3 years, 8 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: 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;
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/library_builder.dart ('k') | pkg/front_end/lib/src/fasta/builder/prefix_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698