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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/body_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
Index: pkg/front_end/lib/src/fasta/kernel/body_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
index 66cb325e1abc91ea1177892cb5099d33261f2e2c..57e8858fe234e05653e2e4fa61a3ca5e19e40d7b 100644
--- a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
@@ -65,6 +65,7 @@ import 'kernel_builder.dart';
import '../names.dart';
class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper {
+ @override
final KernelLibraryBuilder library;
final MemberBuilder member;
@@ -2044,7 +2045,8 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper {
String errorName;
if (type is ClassBuilder) {
- Builder b = type.findConstructorOrFactory(name, token.charOffset, uri);
+ Builder b =
+ type.findConstructorOrFactory(name, token.charOffset, uri, library);
Member target;
Member initialTarget;
if (b == null) {
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/library_builder.dart ('k') | pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698