Index: pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart |
diff --git a/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart b/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart |
index d46a6ef8c55c932833b4f22d53b8ff47d250b281..669b574e316b3aded50493f9a2615662d840a22b 100644 |
--- a/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart |
+++ b/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart |
@@ -2290,8 +2290,13 @@ abstract class NewBulkMixin<R, A> |
} |
@override |
- R visitUnresolvedClassConstructorInvoke(NewExpression node, Element element, |
- ResolutionDartType type, NodeList arguments, Selector selector, A arg) { |
+ R visitUnresolvedClassConstructorInvoke( |
+ NewExpression node, |
+ ErroneousElement element, |
+ ResolutionDartType type, |
+ NodeList arguments, |
+ Selector selector, |
+ A arg) { |
return bulkHandleNew(node, arg); |
} |
@@ -4446,7 +4451,7 @@ class TraversalSendMixin<R, A> implements SemanticSendVisitor<R, A> { |
@override |
R visitUnresolvedClassConstructorInvoke( |
NewExpression node, |
- Element constructor, |
+ ErroneousElement constructor, |
ResolutionDartType type, |
NodeList arguments, |
Selector selector, |
@@ -8298,8 +8303,13 @@ abstract class BaseImplementationOfNewMixin<R, A> |
} |
@override |
- R visitUnresolvedClassConstructorInvoke(NewExpression node, Element element, |
- ResolutionDartType type, NodeList arguments, Selector selector, A arg) { |
+ R visitUnresolvedClassConstructorInvoke( |
+ NewExpression node, |
+ ErroneousElement element, |
+ ResolutionDartType type, |
+ NodeList arguments, |
+ Selector selector, |
+ A arg) { |
return handleConstructorInvoke( |
node, element, type, arguments, selector.callStructure, arg); |
} |