patch applied (ghc): Improve the finder's error messages

Simon Peyton Jones simonpj at microsoft.com
Thu Jan 13 12:55:26 CET 2011


Thu Jan 13 03:12:33 PST 2011  simonpj at microsoft.com
  * Improve the finder's error messages
  
  I'd done all the work to add fuzzy-match suggestions, but they
  weren't really being used!  Here's what you get now
  
     module Foo where
      import Data.Lst
  
  Foo.hs:3:1:
      Failed to load interface for `Data.Lst'
      Perhaps you meant
        Data.List (from base)
        Data.List (needs flag -package haskell2010-1.0.0.0)
        Data.Int (needs flag -package haskell2010-1.0.0.0)
      Use -v to see a list of the files searched for.

    M ./compiler/main/Finder.lhs -7 +28

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110113111233-1287e-4fd1c87260c8c9a8528ab2306cb5a29c4f24aa1d.gz



More information about the Cvs-ghc mailing list