Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
63120 commits behind the upstream repository.
Simon Marlow's avatar
Simon Marlow authored
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.
2c26e730
History