Skip to content

needless panic in :show modules

after a failed :load, :show modules panics (same effect in 6.6.1):

$ /cygdrive/c/fptools/ghc/compiler/stage2/ghc-inplace --interactive
GHCi, version 6.9.20070917: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude> :show modules
Prelude> :l x
[1 of 1] Compiling Main             ( x.hs, interpreted )

x.hs:3:9:
    lexical error in string/character literal at character '\r'
Failed, modules loaded: none.
Prelude> :show modules
: panic! (the 'impossible' happened)
  (GHC version 6.9.20070917 for i386-unknown-mingw32):
        missing linkable

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field Value
Version 6.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information