Skip to content

Move to a more structured error representation

GHC spits out errors as SDocs, which makes it hard for clients of the GHC API to respond sensibly to them. (Parsing error message strings seems ... sub-optimal.) This ticket tracks progress towards improving the situation.

Key resources

For design discussion, use this ticket.

To track the advancement of this ticket, check out the Implementation Plan in the Wiki, which breaks it down into manageable tasks as well as listing the associated merge requests.

Edited by Alfredo Di Napoli
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information