[project @ 2000-06-02 12:19:40 by simonmar]
authorsimonmar <unknown>
Fri, 2 Jun 2000 12:19:40 +0000 (12:19 +0000)
committersimonmar <unknown>
Fri, 2 Jun 2000 12:19:40 +0000 (12:19 +0000)
commit2c26e7307deaf25b39ba616940667c6657161e45
treeb89cc0ca67ac2715d2cb32ef651926684270f052
parent633a6783b85f37e4d8055a21daaed6587721eb02
[project @ 2000-06-02 12:19:40 by simonmar]
checkTyCon shouldn't look through newtypes.  Instead, we add a new
function checkRepTyCon which does, and use it in the few cases where
it is needed.

This fixes a nasty bug with overloaded literals of newtypes, and
probably a whole bunch of other lurking bugs too.
ghc/compiler/prelude/TysWiredIn.lhs