Johannes Waldmann writes:
> not what you would call a severe bug...
>
> just noticed that ghc(-2.08) does _not_ complain about
> duplicates in export lists, while hbc(-0.9999.4) does:
>
> > module Main (main, main) where main = putStrLn "my my"
>
Thanks, but as far as I can see though, the Haskell Report doesn't
specify what the behaviour should be for export lists containing
duplicates. Hence, both implementations are correct :-)
However, no good reason to diverge, so I've added code that will
issue a warning should it encounter duplicates. The warning can be
enabled/disabled with -f(no-)?warn-duplicate-exports. Hopefully
included in the next release.
--Sigbjorn