Skip to content

ghci loses pre-error context after :reload

when trying to :reload an erroneous source, the ghci context changes back to Prelude>. however, if one fixes the source, then does :reload again, older ghcis ended back in the source context, while current head ghci stay in Prelude>.

i attach a session log demonstrating the issue.

Trac metadata
Trac field Value
Version 6.9
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