haskellfoundation / haskellfoundation/error-message-index

Seemingly-redundant error codes

Open
#309 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.