diff --git a/src/Review/Rule.elm b/src/Review/Rule.elm index 25f0396f..5287b215 100644 --- a/src/Review/Rule.elm +++ b/src/Review/Rule.elm @@ -4770,7 +4770,7 @@ visitOnlyExpressionsOnlyOnEnter : -> ( List (Error {}), moduleContext ) visitOnlyExpressionsOnlyOnEnter expressionVisitorsOnEnter node errorsAndContext = List.foldl - (visitWithListOfVisitors expressionVisitorsOnEnter) + (\exprNode acc -> visitWithListOfVisitors expressionVisitorsOnEnter exprNode acc) errorsAndContext (expressionChildrenTCO [ node ] [])