From 3f69c2f1868795bbe191910e82afb473592d386f Mon Sep 17 00:00:00 2001 From: Jennifer Thakar Date: Wed, 7 Jul 2021 10:14:45 -0700 Subject: [PATCH] Fix bug in RecursiveAstVisitor It looks like the body of `visitParenthesizedExpression` was accidentally removed when the type parameter was removed from this class. --- lib/src/visitor/recursive_ast.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/visitor/recursive_ast.dart b/lib/src/visitor/recursive_ast.dart index 018d70fce..887789618 100644 --- a/lib/src/visitor/recursive_ast.dart +++ b/lib/src/visitor/recursive_ast.dart @@ -58,7 +58,9 @@ abstract class RecursiveAstVisitor extends RecursiveStatementVisitor void visitNumberExpression(NumberExpression node) {} - void visitParenthesizedExpression(ParenthesizedExpression node) {} + void visitParenthesizedExpression(ParenthesizedExpression node) { + node.expression.accept(this); + } void visitSelectorExpression(SelectorExpression node) {}