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:
aef84dc
)
[project @ 2003-01-06 15:18:48 by simonpj]
author
simonpj
<unknown>
Mon, 6 Jan 2003 15:18:48 +0000
(15:18 +0000)
committer
simonpj
<unknown>
Mon, 6 Jan 2003 15:18:48 +0000
(15:18 +0000)
dieWith uses ProgramError, not UsageError
ghc/compiler/ghci/Linker.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/ghci/Linker.lhs
b/ghc/compiler/ghci/Linker.lhs
index
727bfc1
..
b608206
100644
(file)
--- a/
ghc/compiler/ghci/Linker.lhs
+++ b/
ghc/compiler/ghci/Linker.lhs
@@
-204,7
+204,7
@@
linkExpr hsc_env pcs root_ul_bco
needed_mods :: [Module]
needed_mods = [ nameModule n | n <- free_names, isExternalName n ]
-dieWith msg = throwDyn (UsageError (showSDoc msg))
+dieWith msg = throwDyn (ProgramError (showSDoc msg))
getLinkDeps :: HomePackageTable -> PackageIfaceTable
-> [Module] -- If you need these