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) =
28 , Syntax.toReport syntaxError
31 Canonicalize canonicalizeError ->
33 , Canonicalize.toReport canonicalizeError
38 , Type.toReport typeError
41 Report.toString tag 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