[GHC] #4806: Make error message more user friendly when module is not found because package is unusable

GHC ghc-devs at haskell.org
Sun Jun 3 17:34:53 UTC 2018


#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 Phyx-):

 I would change the first part to be more precise

 `Could not find module ‘Control.Monad.Random’` into something like `Could
 not load module ‘Control.Monad.Random’` since the message is a bit
 contradictory saying it couldn't find it yet it's part of a package it
 knows about.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/4806#comment:27>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list