Skip to content

Oddity with :browse!

There is an oddity with :browse! that I didn't look into. Load this module: [http://darcs.haskell.org/testsuite/tests/ghc-regress/ghci/prog001/A.hs], and try this:

*Main> :browse! C
-- imported from B
g :: (Num a) => a -> a
h :: (Integral a) => a -> a
f :: (Num a) => a -> a

but g and h are defined locally, and nothing is imported from B. This could be the result of the ordering changes I added to the :browse! patch, but I don't think so.

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 Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information