[GHC] #1847: Oddity with :browse!
GHC
trac at galois.com
Wed Nov 7 06:01:19 EST 2007
#1847: Oddity with :browse!
-------------------------+--------------------------------------------------
Reporter: simonmar | Owner: claus.reinke at talk21.com
Type: bug | Status: new
Priority: normal | Milestone: 6.8.2
Component: GHCi | Version: 6.8.1
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1847>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list