GHC 8.2.2: GHCi duplicates breakpoint range prompt
I think breakpoint range is being printed twice, once as part of prompt, and the second time by itself.
To reproduce, create test.hs
file like this:
module Test where
test :: IO ()
test = putStrLn "Hello, World!"
Then run the following GHCi session:
$ ghci test.hs
GHCi, version 8.2.2: http://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Test ( test.hs, interpreted )
Ok, one module loaded.
*Test> :break test
Breakpoint 0 activated at test.hs:4:8-31
*Test> :trace test
Stopped in Test.test, test.hs:4:8-31
_result :: IO () = _
[test.hs:4:8-31] [test.hs:4:8-31] *Test> :set prompt ""
[test.hs:4:8-31]
Notice [test.hs:4:8-31]
is printed twice, and is even printed when prompt is set to ""
.
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |