[project @ 2001-03-19 16:15:29 by simonpj]
authorsimonpj <unknown>
Mon, 19 Mar 2001 16:15:29 +0000 (16:15 +0000)
committersimonpj <unknown>
Mon, 19 Mar 2001 16:15:29 +0000 (16:15 +0000)
commiteb29a057feb42c082896ff9a28831a12aec0b9ee
treef7da43393fff24df8e4a3bcc7f368f359c92db79
parent17d765ce13bf28d9b79672a567d7faf28c822c76
[project @ 2001-03-19 16:15:29 by simonpj]
Reorder the calls to
tcSimplifyTop
and
tcCheckMain

in TcModule.  We must to tcCheckMain first, else we get a bogus
complaint when compiling

main = return ()

(Something about ambiguous monad.)
ghc/compiler/typecheck/TcModule.lhs