• simonpj's avatar
    [project @ 2001-11-26 10:26:59 by simonpj] · 1fdd97b6
    simonpj authored
    --------------------------------------
    	Finally get rid of tcAddImportedIdInfo
    	--------------------------------------
    
    TcEnv.tcAddImportedIdInfo is a notorious source of space leaks.
    Simon M got rid of the need for it on default methods.
    This commit gets rid of the need for it for dictionary function Ids,
    and finally nukes the beast altogether. Hurrah!
    
    The change really involves putting tcInterfaceSigs *before*
    tcInstDecls1, so that any imported DFunIds are in the typechecker's
    environment before we get to tcInstDecls.
    1fdd97b6
HsDecls.lhs 28.3 KB