Skip to content

Use LIdP rather than (XRec p (IdP p))

Simon Peyton Jones requested to merge wip/T18602 into master

A small TTG refactoring: #18602 (closed)

This patch mainly just replaces use of

    XRec p (IdP p)

with

    LIdP p

One slightly more significant change is to parameterise HsPatSynDetails over the pass rather than the argument type, so that it's uniform with HsConDeclDetails and HsConPatDetails.

I also got rid of the dead code GHC.Hs.type.conDetailsArgs

But this is all just minor refactoring. No change in functionality.

Merge request reports