Index: pkg/compiler/lib/src/universe/call_structure.dart |
diff --git a/pkg/compiler/lib/src/universe/call_structure.dart b/pkg/compiler/lib/src/universe/call_structure.dart |
index 461950fdeafd3ae3524827b4d937aad6f2dc07a3..727390af3362a5c70b540ade354b2bc3b65b9029 100644 |
--- a/pkg/compiler/lib/src/universe/call_structure.dart |
+++ b/pkg/compiler/lib/src/universe/call_structure.dart |
@@ -186,8 +186,8 @@ class CallStructure { |
ConstructorElement callee, |
/*T*/ compileArgument(ParameterElement element), |
/*T*/ compileConstant(ParameterElement element)) { |
- assert(invariant(caller, !callee.isErroneous, |
- message: "Cannot compute arguments to erroneous constructor: " |
+ assert(invariant(caller, !callee.isMalformed, |
+ message: "Cannot compute arguments to malformed constructor: " |
"$caller calling $callee.")); |
FunctionSignature signature = caller.functionSignature; |