Commit 08f59783 authored by sof's avatar sof
Browse files

[project @ 1999-02-15 14:45:01 by sof]

findAndReadIface: use decoded module name
parent 1ce1d749
......@@ -44,7 +44,7 @@ import FiniteMap ( FiniteMap, sizeFM, emptyFM, delFromFM,
import Name ( Name {-instance NamedThing-},
nameModule, moduleString, pprModule, isLocallyDefined,
nameModule, moduleUserString, pprModule, isLocallyDefined,
isWiredInName, maybeWiredInTyConName, pprModule,
maybeWiredInIdName, nameUnique, NamedThing(..)
......@@ -1041,7 +1041,7 @@ findAndReadIface doc_str mod_name
-- one for 'normal' ones, the other for .hi-boot files,
-- hence the need to signal which kind we're interested.
getModuleHiMap from_hi_boot `thenRn` \ himap ->
case (lookupFM himap (moduleString mod_name)) of
case (lookupFM himap (moduleUserString mod_name)) of
-- Found the file
Just fpath -> readIface fpath
-- Hack alert! When compiling PrelBase we have to load the
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