unhelpful wording in module error message
|Reported by:||duncan||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
Users sometimes hit this error message:
Could not find module `Control.Monad.State': it was found in multiple packages: monads-fd-0.0.0.1 mtl-220.127.116.11
The problem is just the wording. It should say from start that the module was found in multiple packages, rather than saying that it was not found at all.
Ambiguous module name `Control.Monad.State': it was found in multiple packages: monads-fd-0.0.0.1 mtl-18.104.22.168
We might also want the message to suggest the flags
-package as part of the solution.
I'm filing this on behalf of people who ran into this while building UHC (which does not use Cabal and does not use the