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

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

Issue 2916863003: Implement library access restrictions and privacy. (Closed)
Patch Set: Update status file. Created 3 years, 7 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
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart ('k') | pkg/front_end/lib/src/fasta/loader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart
index c9c8903ee3b1e3425d4226460ee6d173ba277817..1673f8de544cb23b102f3d8be8eb2cf81db1453e 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart
@@ -242,8 +242,8 @@ class KernelEnumBuilder extends SourceClassBuilder
new VariableGet(constructor.function.positionalParameters.single))
..parent = constructor);
KernelClassBuilder objectClass = objectType.builder;
- MemberBuilder superConstructor =
- objectClass.findConstructorOrFactory("", charOffset, fileUri);
+ MemberBuilder superConstructor = objectClass.findConstructorOrFactory(
+ "", charOffset, fileUri, libraryBuilder);
if (superConstructor == null || !superConstructor.isConstructor) {
// TODO(ahe): Ideally, we would also want to check that [Object]'s
// unnamed constructor requires no arguments. But that information isn't
@@ -269,7 +269,8 @@ class KernelEnumBuilder extends SourceClassBuilder
}
@override
- Builder findConstructorOrFactory(String name, int charOffset, Uri uri) {
+ Builder findConstructorOrFactory(
+ String name, int charOffset, Uri uri, LibraryBuilder library) {
return null;
}
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart ('k') | pkg/front_end/lib/src/fasta/loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698