Add FindFixHelpResult

This commit is contained in:
Jeroen Engels 2023-04-12 19:21:21 +02:00
parent ff23591d9c
commit ec2a25a373

View File

@ -5119,6 +5119,11 @@ findFix reviewOptions project rule errors fixedErrors maybeModuleZipper =
)
type FindFixHelpResult
= FoundNoFixesHelp (List (Error {}))
| FoundFixHelp ( List (Error {}), { project : ValidProject, fixedFile : FixedFile, error : ReviewError } )
findFixHelp :
ValidProject
-> ({ ruleName : String, filePath : String, message : String, details : List String, range : Range } -> Bool)