Skip to content

Can't :browse some modules with GHCi 7.11

Trying to :browse certain modules with GHCi fails with GHC 7.11:

$ inplace/bin/ghc-stage2 --interactive
GHCi, version 7.11.20151219: http://www.haskell.org/ghc/  :? for help
λ> :browse GHC.Base
($) ::
  forall (w :: GHC.Types.Levity) a (b :: TYPE w). (a -> b) -> a -> b
($!) :: (a -> b) -> a -> b
<lots of output elided>
data Ordering*** Exception: No match in record selector tyConTyVars
λ> :browse GHC.Exts
class GHC.Exts.IsList l where
  type family GHC.Exts.Item l
    Kind: * -> *
  GHC.Exts.fromList :: [GHC.Exts.Item l] -> l
  GHC.Exts.fromListN :: Int -> [GHC.Exts.Item l] -> l
  GHC.Exts.toList :: l -> [GHC.Exts.Item l]
  {-# MINIMAL fromList, toList #-}
<lots of output elided>
data GHC.Prim.MutableByteArray# a*** Exception: No match in record selector tyConTyVars
λ> :browse GHC.Prim
*** Exception: No match in record selector tyConTyVars
Trac metadata
Trac field Value
Version 7.11
Type Bug
TypeOfFailure OtherFailure
Priority high
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