mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-24 02:02:29 +03:00
Use expressionVisitor
This commit is contained in:
parent
a3c6a1a781
commit
d47f4440ea
@ -4437,7 +4437,7 @@ visitDeclaration declarationVisitorsOnEnter declarationVisitorsOnExit expression
|
||||
Declaration.FunctionDeclaration function ->
|
||||
( [], moduleContext )
|
||||
|> visitWithListOfVisitors declarationVisitorsOnEnter node
|
||||
|> accumulate (visitExpression expressionRelatedVisitors (Node.value function.declaration).expression)
|
||||
|> expressionVisitor (Node.value function.declaration).expression
|
||||
|> visitWithListOfVisitors declarationVisitorsOnExit node
|
||||
|
||||
_ ->
|
||||
|
Loading…
Reference in New Issue
Block a user