Skip to content

Seemingly-redundant error codes #309

Open
@david-christiansen

Description

@david-christiansen

Presently, both [GHC-76037] (TcRnNotInScope) and [GHC-88464] (TcSolverReport (SolverReportWithCtxt { reportContent = ReportHoleError ...) give very similar string messages, but are distinct:

<interactive>:2:7: error: [GHC-88464]
    Data constructor not in scope: X
ghci> \X -> X

<interactive>: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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions