haskellfoundation / haskellfoundation/error-message-index
Seemingly-redundant error codes
Open
error-message-index-improvements
- Dominant language
- Haskell
- Stars
- 108
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
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: X
ghci> \X -> X
:3:2: error: [GHC-76037]
Not in scope: data constructor ‘X’
```
We should follow up with the GHC folks about whether these should have the same code.
Contributor guide
Assessment
This issue has not been assessed yet.