Skip to content
  • Simon Peyton Jones's avatar
    A tiny, outright bug in tcDataFamInstDecl · e2f7d777
    Simon Peyton Jones authored
    This bug was revealed by Trac #11362.  It turns out that in my patch
    for Trac #11148 (namely 1160dc51), I failed to turn one occurrence of
    tvs' into full_tvs.  Sigh.  This is tricky stuff and it cost me
    several hours to page it back in and figure out what was happening.
    
    The result was a CoAxiom whose lhs had rhs had different kinds.  Eeek!
    
    Anyway it's fixed.
    
    I also added an ASSERT, in FamInst.newFamInst, that trips on such
    bogus CoAxioms.
    e2f7d777