[project @ 2005-07-25 11:08:26 by simonpj]
authorsimonpj <unknown>
Mon, 25 Jul 2005 11:08:27 +0000 (11:08 +0000)
committersimonpj <unknown>
Mon, 25 Jul 2005 11:08:27 +0000 (11:08 +0000)
commit70349c3260ae22b3e46657150ce144f5de99d8d2
treed2b43a431894192d37fd5423368d8808402d5547
parenta2da0796b273efd1fbb5d251fb748c627f189fa9
[project @ 2005-07-25 11:08:26 by simonpj]
MERGE TO STABLE if poss

Make the "root main" Id :Main.main into an *implicit* Id, whose parent is
Main.main.  What that means is that the "root main" Id won't be emitted
into the interface file.  Which has not been causing a problem in practice
but is clearly wrong -- there were two 'main's in the interface file.
ghc/compiler/prelude/PrelNames.lhs
ghc/compiler/typecheck/TcRnDriver.lhs