#2382: :reload with non-existent module keeps old bindings around and panics
------------------------+---------------------------------------------------
Reporter: lumi | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 6.6 | Severity: normal
Keywords: | Testcase:
Architecture: powerpc | Os: Unknown
------------------------+---------------------------------------------------
When issuing :reload with a non-existent module, it seems to perform some
sort of half-reload, leaving old bindings around. Using them causes panic.
{{{
Prelude> let x = 1
Prelude> :r foo
module does not exist
Prelude> :t x
x :: Integer
Prelude> x
ghc-6.6: panic! (the 'impossible' happened)
(GHC version 6.6 for powerpc-apple-darwin):
nameModule x{v aFD}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2382>
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