Index: pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
diff --git a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
index 6afef1bb9577051bd3dc4c836bac31fa345c5c68..a13db64f16ffeb8002c0c9af344c535d073f94c4 100644 |
--- a/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
+++ b/pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart |
@@ -192,7 +192,7 @@ class CustomElementsAnalysisJoin { |
if (member.isGenerativeConstructor) { |
// Ignore constructors that cannot be called with zero arguments. |
FunctionElement constructor = member; |
- constructor.computeSignature(compiler); |
+ constructor.computeType(compiler); |
FunctionSignature parameters = constructor.functionSignature; |
if (parameters.requiredParameterCount == 0) { |
result.add(member); |