Ticket #739 (new defect)
cabal install regression with GHC HEAD - ghc-paths
Description
with the Cabal library installed with GHC 6.13.20100911 I can no longer install the package ghc-paths-0.1.0.6
In 'ghci Setup.hs' I get the error:
Setup.hs:41:25:
Ambiguous occurrence `None' It could refer to either `Distribution.Simple.Setup.None', imported from Distribution.Simple.Setup at Setup.hs:2:1-32
or `Pkg.None', imported from Distribution.Simple.PackageIndex? at Setup.hs:7:1-46
It looks like the 'None' constructor didn't exist in Distribution.Simple.Setup in Cabal 1.8.x. While we can't guarantee that an added constructor doesn't conflict with data declarations used in every Setup.hs, it seems in poor form to export the same constructor in two types in the same library.
