Skip to content

Commit

Permalink
Fix bug in RecursiveAstVisitor (#1389)
Browse files Browse the repository at this point in the history
It looks like the body of `visitParenthesizedExpression` was accidentally removed when the type parameter was removed from this class.
  • Loading branch information
jathak committed Jul 7, 2021
1 parent 55b6813 commit 3942ac4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/visitor/recursive_ast.dart
Expand Up @@ -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) {}

Expand Down

0 comments on commit 3942ac4

Please sign in to comment.