Skip to content
  • Simon Peyton Jones's avatar
    Use TyVars in a DFunUnfolding · edbe8319
    Simon Peyton Jones authored
    En route to something else I discovered that TcInstDcls.addDFunPrags
    was building a DFunUnfolding that had TcTyVars in it.  They should
    never survive beyond type checking.  It was harmeless, but now affects
    type pretty-printing.
    
    This patch fixes it.
    edbe8319