
#11418: Suggest correct spelling when module is not found because of typo -------------------------------------+------------------------------------- Reporter: syd | Owner: Type: feature request | Status: new Priority: lowest | Milestone: Component: Compiler | Version: Resolution: | Keywords: 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 thomie): Replying to [comment:2 nomeata]:
It might work for modules that are imported from packages.
Like this you mean? {{{#!hs import Data.Lis }}} {{{ Test.hs:1:8: Could not find module ‘Data.Lis’ Perhaps you meant Data.List (from base-4.8.2.0) Data.Bits (from base-4.8.2.0) Data.DList (from dlist-0.7.1.2@23izrBUDDH96xJKcDju2CZ) Use -v to see a list of the files searched for. }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11418#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler