Index: pkg/js_ast/lib/src/nodes.dart |
diff --git a/pkg/js_ast/lib/src/nodes.dart b/pkg/js_ast/lib/src/nodes.dart |
index 07a20f1312ad11d33d8fa9b83dd802ebcbd846c4..27511cafcdd83703620e470d87eccf8f1ce4cda1 100644 |
--- a/pkg/js_ast/lib/src/nodes.dart |
+++ b/pkg/js_ast/lib/src/nodes.dart |
@@ -81,6 +81,8 @@ abstract class NodeVisitor<T> { |
} |
class BaseVisitor<T> implements NodeVisitor<T> { |
+ const BaseVisitor(); |
+ |
T visitNode(Node node) { |
node.visitChildren(this); |
return null; |