[GHC] #2064: problems with duplicate modules
GHC
trac at galois.com
Fri Jan 25 10:21:31 EST 2008
#2064: problems with duplicate modules
-------------------------+--------------------------------------------------
Reporter: Frederik | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
Hello, I just noticed the following minor issue. I have a cabal file which
isn't seen by cabal except for the configuration step and to install the
package, which I do as:
{{{
runhaskell Setup.hs -v register --gen-pkg-config=.package-config
ghc-pkg update .package-config --user
}}}
If I duplicate a module in the Exposed-modules list then
1. cabal doesn't complain
2. ghc-pkg doesn't complain
3. ghci gives a very misleading message, e.g.:
{{{
Could not find module `Vector.Sparse':
it was found in multiple packages: vectro-0.2 vectro-0.2
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2064>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list