Use LIdP rather than (XRec p (IdP p))
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 HsConPatDetail
s.
I also got rid of the dead code GHC.Hs.type.conDetailsArgs
But this is all just minor refactoring. No change in functionality.