
#4806: Make error message more user friendly when module is not found because package is unusable -------------------------------------+------------------------------------- Reporter: mitar | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.0.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by sgillespie): What specific message should we show? I was thinking: {{{ Prelude> :m + Control.Monad.Random <no location info>: error: Could not find module ‘Control.Monad.Random’ It is a member of the package ‘MonadRandom-0.5.1-1421RgpXdhC8e8UI7D3emA’ which is unusable due to missing dependencies: fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/4806#comment:26 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler