Index: pkg/compiler/lib/src/compile_time_constants.dart |
diff --git a/pkg/compiler/lib/src/compile_time_constants.dart b/pkg/compiler/lib/src/compile_time_constants.dart |
index 848ea68f32d6db5a23ea0694460aa9e615b1543a..c0ce4d2a1eae7d2c9b0dba7cb0fd877d2dff8cdd 100644 |
--- a/pkg/compiler/lib/src/compile_time_constants.dart |
+++ b/pkg/compiler/lib/src/compile_time_constants.dart |
@@ -789,7 +789,7 @@ class CompileTimeConstantEvaluator extends Visitor<AstConstant> { |
return new AstConstant.fromDefaultValue( |
element, constant, handler.getConstantValue(constant)); |
} |
- target.computeSignature(compiler); |
+ target.computeType(compiler); |
if (!callStructure.signatureApplies(target)) { |
String name = Elements.constructorNameForDiagnostics( |