#5704: Bug in the handling of wired-in packages (like template-haskell)
-------------------------------+--------------------------------------------
Reporter: simonmar | Owner: simonmar
Type: bug | Status: closed
Priority: high | Milestone: 7.4.2
Component: Package system | Version: 7.2.1
Resolution: wontfix | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => wontfix
Comment:
I'm going to close this. It just doesn't work to have multiple versions
of a wired-in package, all kinds of things could go wrong.
We currently allow multiple versions to exist, but only the latest is
considered to be "the" wired-in one. This was to make it possible to have
both `base-3` and `base-4` coexisting, where `base-3` depended on
`base-4`. This doesn't apply in the above template-haskell example, where
the two packages are really independent.
I think the right fix is just to not do this, and if I understand
correctly the latest version of Cabal is better at avoiding it anyway.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5704#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs