Call the finalEvaluationFns in multi rules

This commit is contained in:
Jeroen Engels 2020-01-12 22:29:18 +01:00
parent 443a571ac7
commit 068fd7eb9e

View File

@ -610,6 +610,7 @@ visitFileForMulti (Schema schema) =
|> accumulateList (visitImport schema.importVisitors) file.ast.imports
|> accumulateWithListOfVisitors schema.declarationListVisitors file.ast.declarations
|> accumulateList (visitDeclaration declarationVisitors expressionVisitors) file.ast.declarations
|> (\( errors, context ) -> ( makeFinalEvaluation schema.finalEvaluationFns ( errors, context ), context ))
{-| TODO documentation