| ModuleHidden PackageId
-- for an explicit source import: the package containing the module is
-- exposed, but the module itself is hidden.
- | NotFound [FilePath]
- -- the module was not found, the specified places were searched.
+ | NotFound [FilePath] (Maybe PackageId)
+ -- the module was not found, the specified places were searched
| NotFoundInPackage PackageId
-- the module was not found in this package
_other -> text (msObjFilePath mod_summary),
char ')'])
where
- mod = ms_mod mod_summary
+ mod = moduleName (ms_mod mod_summary)
mod_str = showSDoc (ppr mod) ++ hscSourceString (ms_hsc_src mod_summary)
\end{code}