Skip to content
  • Simon Marlow's avatar
    2c26e730
    [project @ 2000-06-02 12:19:40 by simonmar] · 2c26e730
    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
    [project @ 2000-06-02 12:19:40 by simonmar]
    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.
Loading