FIX #2682: banish silly cases of the "module Foo is not loaded" error
[ghc-hetmet.git] / compiler / ghci / Linker.lhs
index 0de30af..3d30c07 100644 (file)
@@ -413,7 +413,7 @@ reallyInitDynLinker dflags
        ; ok <- resolveObjs
 
        ; if succeeded ok then maybePutStrLn dflags "done"
-         else ghcError (InstallationError "linking extra libraries/objects failed")
+         else ghcError (ProgramError "linking extra libraries/objects failed")
        }}
 
 classifyLdInput :: FilePath -> IO (Maybe LibrarySpec)