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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart

Issue 2803833003: Small steps towards deferred loading. (Closed)
Patch Set: Tweak status file. Some of the compile-time errors result in passing tests. 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/kernel/fasta_accessors.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
index b4659448d0f54e9c5cd10a90cd2602f60f4cae73..3cc30e0f14dd9e97b896ce8b997e1a20392f3add 100644
--- a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
@@ -43,7 +43,8 @@ abstract class BuilderHelper {
Member lookupSuperMember(Name name, {bool isSetter: false});
- scopeLookup(Scope scope, String name, int offset, {bool isQualified: false});
+ scopeLookup(Scope scope, String name, int offset,
+ {bool isQualified: false, PrefixBuilder prefix});
finishSend(Object receiver, Arguments arguments, int offset);
@@ -432,7 +433,7 @@ class SendAccessor extends IncompleteSend {
if (receiver is PrefixBuilder) {
PrefixBuilder prefix = receiver;
receiver = helper.scopeLookup(prefix.exports, name.name, offset,
- isQualified: true);
+ isQualified: true, prefix: prefix);
return helper.finishSend(receiver, arguments, offset);
}
Expression result;
@@ -518,7 +519,7 @@ class IncompletePropertyAccessor extends IncompleteSend {
if (receiver is PrefixBuilder) {
PrefixBuilder prefix = receiver;
return helper.scopeLookup(prefix.exports, name.name, offset,
- isQualified: true);
+ isQualified: true, prefix: prefix);
}
if (receiver is KernelClassBuilder) {
Builder builder = receiver.findStaticBuilder(name.name, offset, uri);
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/lib/src/fasta/source/source_library_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698