[GHC] #13868: Improved help suggested in the error message about "import".

GHC ghc-devs at haskell.org
Fri Jun 23 18:00:54 UTC 2017


#13868: Improved help suggested in the error message about "import".
-------------------------------------+-------------------------------------
        Reporter:  vanto             |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by vanto):

 Well, look at this example.\\

 {{{
 import Data.Chat
 Failed to load interface for `Data.Chat'
 Perhaps you meant
   Data.Char (from base-4.9.1.0)
   Data.Char8 (from word8-0.1.2)
 }}}
 The response given by GHC is quite adequate. He answers what we expect
 from him.

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


More information about the ghc-tickets mailing list