projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a4238b
)
[project @ 2003-01-09 12:01:45 by simonmar]
author
simonmar
<unknown>
Thu, 9 Jan 2003 12:01:45 +0000
(12:01 +0000)
committer
simonmar
<unknown>
Thu, 9 Jan 2003 12:01:45 +0000
(12:01 +0000)
Fix the stage2 build even more.
ghc/compiler/compMan/CompManager.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/compMan/CompManager.lhs
b/ghc/compiler/compMan/CompManager.lhs
index
07c5dbe
..
1f5aa9a
100644
(file)
--- a/
ghc/compiler/compMan/CompManager.lhs
+++ b/
ghc/compiler/compMan/CompManager.lhs
@@
-232,9
+232,9
@@
moduleNameToModule hpt mn = do
_not_a_home_module -> do
maybe_stuff <- findModule mn
case maybe_stuff of
- Nothing -> throwDyn (CmdLineError ("can't find module `"
+ Left _ -> throwDyn (CmdLineError ("can't find module `"
++ moduleNameUserString mn ++ "'"))
- Just (m,_) -> return m
+ Right (m,_) -> return m
cmGetContext :: CmState -> IO ([String],[String])
cmGetContext CmState{ic=ic} =