-
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.
Simon Marlow authoredcheckTyCon 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.
Loading