Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
41fc1d15
Commit
41fc1d15
authored
May 27, 2004
by
simonmar
Browse files
[project @ 2004-05-27 16:13:59 by simonmar]
Change the 'can't load package' message from a panic to an ordinary error.
parent
e663fcfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/ghci/Linker.lhs
View file @
41fc1d15
...
...
@@ -790,7 +790,7 @@ linkPackage dflags pkg
maybePutStr dflags "linking ... "
ok <- resolveObjs
if succeeded ok then maybePutStrLn dflags "done."
else
panic ("can't
load package `" ++ name pkg ++ "'")
else
throwDyn (InstallationError ("unable to
load package `" ++ name pkg ++ "'")
)
load_dyn dirs dll = do r <- loadDynamic dirs dll
case r of
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment