[project @ 2000-04-03 09:52:28 by simonpj]
* Make it so that recursive newtype declarations don't send GHC into an infinite loop. newtype T = MkT T This happened because Type.repType looked throught newtypes, and that never stopped! Now TcTyDecls.mkNewTyConRep does the job more carefully, and the result is cached in the TyCon itself. * Improve the handling of type signatures & pragmas. Previously a mis-placed (say) SPECIALISE instance pragmas could be silently ignored. Both these changes involved moving quite a lot of stuff between modules.
Showing
- ghc/compiler/absCSyn/CStrings.lhs 4 additions, 1 deletionghc/compiler/absCSyn/CStrings.lhs
- ghc/compiler/absCSyn/PprAbsC.lhs 2 additions, 2 deletionsghc/compiler/absCSyn/PprAbsC.lhs
- ghc/compiler/basicTypes/BasicTypes.lhs 0 additions, 1 deletionghc/compiler/basicTypes/BasicTypes.lhs
- ghc/compiler/basicTypes/Name.lhs 13 additions, 1 deletionghc/compiler/basicTypes/Name.lhs
- ghc/compiler/deSugar/DsCCall.lhs 2 additions, 1 deletionghc/compiler/deSugar/DsCCall.lhs
- ghc/compiler/hsSyn/HsBinds.lhs 88 additions, 13 deletionsghc/compiler/hsSyn/HsBinds.lhs
- ghc/compiler/hsSyn/HsDecls.lhs 2 additions, 4 deletionsghc/compiler/hsSyn/HsDecls.lhs
- ghc/compiler/hsSyn/HsExpr.lhs 4 additions, 3 deletionsghc/compiler/hsSyn/HsExpr.lhs
- ghc/compiler/prelude/PrimOp.lhs 3 additions, 2 deletionsghc/compiler/prelude/PrimOp.lhs
- ghc/compiler/prelude/TysWiredIn.lhs 6 additions, 7 deletionsghc/compiler/prelude/TysWiredIn.lhs
- ghc/compiler/rename/RnBinds.lhs 43 additions, 110 deletionsghc/compiler/rename/RnBinds.lhs
- ghc/compiler/rename/RnEnv.lhs 1 addition, 1 deletionghc/compiler/rename/RnEnv.lhs
- ghc/compiler/rename/RnMonad.lhs 1 addition, 9 deletionsghc/compiler/rename/RnMonad.lhs
- ghc/compiler/rename/RnSource.lhs 3 additions, 22 deletionsghc/compiler/rename/RnSource.lhs
- ghc/compiler/stgSyn/CoreToStg.lhs 3 additions, 2 deletionsghc/compiler/stgSyn/CoreToStg.lhs
- ghc/compiler/stranal/StrictAnal.lhs 0 additions, 1 deletionghc/compiler/stranal/StrictAnal.lhs
- ghc/compiler/typecheck/TcClassDcl.lhs 11 additions, 13 deletionsghc/compiler/typecheck/TcClassDcl.lhs
- ghc/compiler/typecheck/TcIfaceSig.lhs 1 addition, 1 deletionghc/compiler/typecheck/TcIfaceSig.lhs
- ghc/compiler/typecheck/TcTyDecls.lhs 34 additions, 12 deletionsghc/compiler/typecheck/TcTyDecls.lhs
- ghc/compiler/types/TyCon.lhs 79 additions, 40 deletionsghc/compiler/types/TyCon.lhs
Loading
Please register or sign in to comment