Skip to content

:reload with non-existent module zeroes out prompt

Using :reload with a non-existent module zeroes out the prompt. The modules are still loaded, it's just the prompt that's wrong, as far as I can tell.

Prelude> :r foo
module does not exist
> 

Expected:

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