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 af43415ddd30647fc7eeb7ebd8a290d4f2623779..c3221ef720f8e7eac85073da8321ca40c1a2679c 100644 |
--- a/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart |
+++ b/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart |
@@ -2870,6 +2870,41 @@ abstract class NewBulkMixin<R, A> |
} |
@override |
+ R visitBoolFromEnvironmentConstructorInvoke( |
+ NewExpression node, |
+ BoolFromEnvironmentConstantExpression constant, |
+ A arg) { |
+ return bulkHandleNew(node, arg); |
+ } |
+ |
+ @override |
+ R visitIntFromEnvironmentConstructorInvoke( |
+ NewExpression node, |
+ IntFromEnvironmentConstantExpression constant, |
+ A arg) { |
+ return bulkHandleNew(node, arg); |
+ } |
+ |
+ @override |
+ R visitStringFromEnvironmentConstructorInvoke( |
+ NewExpression node, |
+ StringFromEnvironmentConstantExpression constant, |
+ A arg) { |
+ return bulkHandleNew(node, arg); |
+ } |
+ |
+ @override |
+ R visitConstructorIncompatibleInvoke( |
+ NewExpression node, |
+ ConstructorElement constructor, |
+ InterfaceType type, |
+ NodeList arguments, |
+ CallStructure callStructure, |
+ A arg) { |
+ return bulkHandleNew(node, arg); |
+ } |
+ |
+ @override |
R visitGenerativeConstructorInvoke( |
NewExpression node, |
ConstructorElement constructor, |
@@ -5513,6 +5548,42 @@ class TraversalSendMixin<R, A> implements SemanticSendVisitor<R, A> { |
} |
@override |
+ R visitBoolFromEnvironmentConstructorInvoke( |
+ NewExpression node, |
+ BoolFromEnvironmentConstantExpression constant, |
+ A arg) { |
+ return null; |
+ } |
+ |
+ @override |
+ R visitIntFromEnvironmentConstructorInvoke( |
+ NewExpression node, |
+ IntFromEnvironmentConstantExpression constant, |
+ A arg) { |
+ return null; |
+ } |
+ |
+ @override |
+ R visitStringFromEnvironmentConstructorInvoke( |
+ NewExpression node, |
+ StringFromEnvironmentConstantExpression constant, |
+ A arg) { |
+ return null; |
+ } |
+ |
+ @override |
+ R visitConstructorIncompatibleInvoke( |
+ NewExpression node, |
+ ConstructorElement constructor, |
+ InterfaceType type, |
+ NodeList arguments, |
+ CallStructure callStructure, |
+ A arg) { |
+ apply(arguments, arg); |
+ return null; |
+ } |
+ |
+ @override |
R visitUnresolvedClassConstructorInvoke( |
NewExpression node, |
Element constructor, |
@@ -7576,6 +7647,30 @@ abstract class BaseImplementationOfConstantsMixin<R, A> |
} |
@override |
+ R visitBoolFromEnvironmentConstructorInvoke( |
+ NewExpression node, |
+ BoolFromEnvironmentConstantExpression constant, |
+ A arg) { |
+ return handleConstantGet(node, constant, arg); |
+ } |
+ |
+ @override |
+ R visitIntFromEnvironmentConstructorInvoke( |
+ NewExpression node, |
+ IntFromEnvironmentConstantExpression constant, |
+ A arg) { |
+ return handleConstantGet(node, constant, arg); |
+ } |
+ |
+ @override |
+ R visitStringFromEnvironmentConstructorInvoke( |
+ NewExpression node, |
+ StringFromEnvironmentConstantExpression constant, |
+ A arg) { |
+ return handleConstantGet(node, constant, arg); |
+ } |
+ |
+ @override |
R visitConstantGet( |
Send node, |
ConstantExpression constant, |