• Simon Peyton Jones's avatar
    Minor refactor of CUSK handling · 9bb23d5f
    Simon Peyton Jones authored
    Previously, in getFamDeclInitialKind, we were figuring
    out whether the enclosing class decl had a CUSK very
    indirectly, via tcTyConIsPoly.  This patch just makes
    the computation much more direct and easy to grok.
    No change in behaviour.
Code owners : Simon Peyton Jones
TcTyClsDecls.hs 163 KB