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) { |