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

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

Issue 2916863003: Implement library access restrictions and privacy. (Closed)
Patch Set: 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/builder/library_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/library_builder.dart b/pkg/front_end/lib/src/fasta/builder/library_builder.dart
index e3067aa8ccbf980457e61dbfc39343eb82734d3b..8bf7c6a22d5352cf0fc5944ac30098062d10ca85 100644
--- a/pkg/front_end/lib/src/fasta/builder/library_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/library_builder.dart
@@ -132,7 +132,7 @@ abstract class LibraryBuilder<T extends TypeBuilder, R> extends Builder {
// TODO(ahe): This code is similar to code in `endNewExpression` in
// `body_builder.dart`, try to share it.
Builder constructor =
- cls.findConstructorOrFactory(constructorName, -1, null);
+ cls.findConstructorOrFactory(constructorName, -1, null, this);
Paul Berry 2017/06/01 16:54:18 This method (getConstructor) is written in a reall
ahe 2017/06/01 17:12:42 Good point.
Paul Berry 2017/06/01 17:15:11 sgtm, thanks.
ahe 2017/06/02 06:26:51 Done.
if (constructor == null) {
// Fall-through to internal error below.
} else if (constructor.isConstructor) {

Powered by Google App Engine
This is Rietveld 408576698