error-message-index
error-message-index copied to clipboard
A community-driven collection of documentation for Haskell error messages and warnings
Right now, code examples that are too wide overflow the allowed space. This is especially a problem on mobile browsers. Screenshots:  
For example, when I type `Character literals may not be empty` in the search box, I'd expect to see [GHC-11861](https://errors.haskell.org/messages/GHC-11861/index.html), but currently, it returns 0 results presumably because only the...
Copied from https://github.com/haskell/error-messages/pull/180, see there for some previous discussion.
Presently, both `[GHC-76037]` (`TcRnNotInScope`) and `[GHC-88464]` (`TcSolverReport (SolverReportWithCtxt { reportContent = ReportHoleError ...`) give very similar string messages, but are distinct: ``` :2:7: error: [GHC-88464] Data constructor not in scope:...
In haskell/error-messages#100 I only did an example where both names are imported qualified, but I think the error would also be triggered by something like ```hs module Greeting (W.greeting, greeting)...
We couldn't think up a testcase which causes the nukes to be launched (or a runtime crash) due to orphan instance issues.
`TcRnUserTypeError` (47403) and `UserTypeError` (64725) really are the same error, but they get triggered in different parts of the compiler. At first I thought one was specifically for constraints and...
See e.g. haskell/error-messages#65 where there's two possible solutions, so as a workaround I made `before/Main1.hs` and `before/Main2.hs` which are identical, but `after/Main1.hs` and `after/Main2.hs` which are different.
It would be nice to have a full-text search feature for the site.
Consider this: https://haskell.github.io/error-messages/messages/GHC-99623/example1/index.html because the `before` has an extra trailing newline, the alignment is thrown off. This should probably be formatted the same way