Re-use visitOnlyDeclaration

This commit is contained in:
Jeroen Engels 2021-10-27 18:21:00 +02:00
parent 3fd241eab3
commit 2f68b275ba

View File

@ -4462,9 +4462,7 @@ visitDeclaration declarationVisitorsOnEnter declarationVisitorsOnExit expression
|> visitWithListOfVisitors declarationVisitorsOnExit node
_ ->
errorsAndContext
|> visitWithListOfVisitors declarationVisitorsOnEnter node
|> visitWithListOfVisitors declarationVisitorsOnExit node
visitOnlyDeclaration declarationVisitorsOnEnter declarationVisitorsOnExit node errorsAndContext
visitOnlyDeclaration :