Use explicit lambda to not have an uncurry perf hit

This commit is contained in:
Jeroen Engels 2022-09-17 14:48:51 +02:00
parent 913f11f5e4
commit f02896282d

View File

@ -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 ] [])