Skip to content

ghci -hide-all-packages gives bad error message

Let's output something a bit more graceful here?

dfranke@feanor:~% ghci -hide-all-packages
GHCi, version 6.8.1.20071209: http://www.haskell.org/ghc/  :? for help

<interactive>:1:22:
    Failed to load interface for `System.IO':
      it is a member of package base, which is hidden

<interactive>:1:22:
    Failed to load interface for `System.IO':
      it is a member of package base, which is hidden

<interactive>:1:22:
    Failed to load interface for `System.IO':
      it is a member of package base, which is hidden
ghc-6.8.1.20071209: panic! (the 'impossible' happened)
  (GHC version 6.8.1.20071209 for x86_64-unknown-linux):
        interactiveUI:setBuffering

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

dfranke@feanor:~% 
Trac metadata
Trac field Value
Version 6.8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information