Skip to content

GHCI :list uses malformed line endings (<CR><CR><LF>) on Windows

When I load a file that uses Windows-style newlines in WinGHCi, set a breakpoint, run to that breakpoint, and execute ":list", the carets that should underline the breakpoint expression are instead appended to the line. I'll attach a screenshot and the file I loaded.

Trac metadata
Trac field Value
Version 7.6.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC hvr
Operating system
Architecture
Edited by gintas
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information