Improvements to the "can't find module" error message (#2980)
authorSimon Marlow <marlowsd@gmail.com>
Fri, 6 Feb 2009 16:57:43 +0000 (16:57 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 6 Feb 2009 16:57:43 +0000 (16:57 +0000)
commit305b24aa09287ce3d3b5e9817a5be745e0f17232
treef095d37baba206ec6bb5894a20525c167256f212
parentdc01512f14cc4710d1f6a7448e642cd11e5e3efe
Improvements to the "can't find module" error message (#2980)
If the module was found in multiple hidden packages, we list them all.

Could not find module `Data.Generics':
  it is a member of the hidden package `base-3.0.3.0'
  it is a member of the hidden package `syb'
  Use -v to see a list of the files searched for.
compiler/main/Finder.lhs
compiler/main/HscTypes.lhs