Commit d8e8d85d authored by simonmar's avatar simonmar
Browse files

[project @ 2005-02-14 16:49:50 by simonmar]

Improve the module-not-found error message when we didn't actually
search for it anywhere.  This happens when we know all the places it
might be: either in the current program, or a package.
parent 7c49d9d4
...@@ -429,6 +429,8 @@ cantFindError dflags mod_name find_result ...@@ -429,6 +429,8 @@ cantFindError dflags mod_name find_result
<+> ppr pkg) <+> ppr pkg)
NotFound files NotFound files
| null files
-> ptext SLIT("it is not a module in the current program, or in any known package.")
| verbosity dflags < 3 | verbosity dflags < 3
-> ptext SLIT("use -v to see a list of the files searched for") -> ptext SLIT("use -v to see a list of the files searched for")
| otherwise | otherwise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment