Skip to content
  • Simon Peyton Jones's avatar
    Refactoring of where tcSimplifyTop happens · 344eb6d9
    Simon Peyton Jones authored
    We want to do tcSimplifyTop after checkMain, because checkMain can add
    useful type information that eliminates ambiguity.  E.g.
    	main = return undefined
    
    This is the way it used to be in 6.6, and I think I mistakenly moved it
    when doing implication constraints. This patch effectively puts it back
    the way it was.
    
    Cures the cg053 failure.
    344eb6d9