-
Notifications
You must be signed in to change notification settings - Fork 718
Open
Description
Could we reduce the lines required for the error reports? Perhaps lead with the error line and append the error code and problem description the way GHC does it?
[ 37 of 150] Compiling Distribution.Types.DumpBuildInfo ( src/Distribution/Types/DumpBuildInfo.hs, interpreted ) [Source file changed]
src/Distribution/Types/DumpBuildInfo.hs:25:31: error: [GHC-88464]
Variable not in scope: boolean :: Bool
|
25 | boolToDumpBuildInfo bool = if boolean then DumpBuildInfo else NoDumpBuildInfo
| ^^^^^^^
Originally posted by @philderbeast in #8889 (comment)
That would give us:
cyclical-0-self.project:3:1: error: [Cabal-7090]
cyclical import of cyclical-0-self.project;
cyclical-0-self.project
imported by: cyclical-0-self.project
1 | packages: .
2 |
3 | import: cyclical-0-self.project
| ^
Do we even need to say that we found the problem while parsing?
Metadata
Metadata
Assignees
Labels
No labels