#852: Browsing a module in ghci can cause a panic
-------------------------+--------------------------------------------------
    Reporter:  mnislaih  |        Owner:                     
        Type:  bug       |       Status:  new                
    Priority:  normal    |    Milestone:  6.6                
   Component:  Driver    |      Version:  6.4.2              
    Severity:  normal    |     Keywords:  ghci module package
          Os:  MacOS X   |   Difficulty:  Easy (1 hr)        
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Consider a file `Test2.hs` containing
 {{{
 module Test.Test2 where
 ...
 }}}

 Then, in the ghci prompt:
 {{{
 > :l Test2
 > :b Test2
 }}}

 results in a panic in my 6.5 (08 Aug) system:

 {{{
 *main:Test.Test2> :b Test2
 Could not find module `Test2':ghc-6.5: panic! (the 'impossible' happened)
   (GHC version 6.5 for i386-apple-darwin):
         cantFindErr
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/852>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to