1module Reporting.Warning where
3import qualified AST.Module as Module
5import qualified Reporting.Annotation as A
7import qualified Reporting.Warning.CheckMatch as CheckMatch
11 = UnusedImport Module.Name
12 | MissingTypeAnnotation String
13 | MatchWarning CheckMatch.Warning
17toString :: A.Located Warning -> String
18toString (A.A region warning) =
20 _ -> error "Warning.toString" region
25toJson :: A.Located Warning -> String
26toJson (A.A region warning) =
28 _ -> error "Warning.toJson" region
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