Skip to content
Snippets Groups Projects
Commit e4b0fab5 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[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.
parent 1131cd79
No related merge requests found
Showing
with 300 additions and 246 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment