Skip to content

Commit 3942ac4

Browse files
authored
Fix bug in RecursiveAstVisitor (#1389)
It looks like the body of `visitParenthesizedExpression` was accidentally removed when the type parameter was removed from this class.
1 parent 55b6813 commit 3942ac4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/src/visitor/recursive_ast.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ abstract class RecursiveAstVisitor extends RecursiveStatementVisitor
5858

5959
void visitNumberExpression(NumberExpression node) {}
6060

61-
void visitParenthesizedExpression(ParenthesizedExpression node) {}
61+
void visitParenthesizedExpression(ParenthesizedExpression node) {
62+
node.expression.accept(this);
63+
}
6264

6365
void visitSelectorExpression(SelectorExpression node) {}
6466

0 commit comments

Comments
 (0)