#2381: :reload with non-existent module zeroes out prompt
---------------------+------------------------------------------------------
 Reporter:  lumi     |          Owner:             
     Type:  bug      |         Status:  new        
 Priority:  normal   |      Milestone:  6.10 branch
Component:  GHCi     |        Version:  6.8.2      
 Severity:  minor    |     Resolution:             
 Keywords:           |     Difficulty:  Unknown    
 Testcase:           |   Architecture:  Unknown    
       Os:  Unknown  |  
---------------------+------------------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown
  * milestone:  => 6.10 branch

Comment:

 It doesn't look like the modules are still loaded to me (with 6.8.2 and
 6.8.3):
 {{{
 Prelude> :t length
 length :: [a] -> Int
 Prelude> :r foo
 module does not exist
 > :t length

 <interactive>:1:0: Not in scope: `length'
 > :m + Prelude
 Prelude> :t length
 length :: [a] -> Int
 Prelude>
 }}}
 but I that smells like a bug in itself.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2381#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to