1{-# LANGUAGE OverloadedStrings #-}
2module Reporting.Error where
4import qualified Reporting.Annotation as A
5import qualified Reporting.Error.Canonicalize as Canonicalize
6import qualified Reporting.Error.Syntax as Syntax
7import qualified Reporting.Error.Type as Type
8import qualified Reporting.Report as Report
15 | Canonicalize Canonicalize.Error
21toString :: String -> String -> A.Located Error -> String
22toString location source (A.A region err) =
27 Syntax.toReport syntaxError
29 Canonicalize canonicalizeError ->
30 Canonicalize.toReport canonicalizeError
33 Type.toReport typeError
35 Report.toString location region report source
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list