[GHC] #9367: :list does not underline expression correctly in WinGHCi for files with Windows-style newlines

GHC ghc-devs at haskell.org
Fri Jul 25 16:41:19 UTC 2014


#9367: :list does not underline expression correctly in WinGHCi for files with
Windows-style newlines
----------------------------------+---------------------------------------
       Reporter:  kraai           |                   Owner:
           Type:  bug             |                  Status:  new
       Priority:  normal          |               Milestone:
      Component:  GHCi            |                 Version:  7.6.3
       Keywords:                  |        Operating System:  Windows
   Architecture:  x86_64 (amd64)  |         Type of failure:  None/Unknown
     Difficulty:  Unknown         |               Test Case:
     Blocked By:                  |                Blocking:
Related Tickets:                  |  Differential Revisions:
----------------------------------+---------------------------------------
 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.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9367>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list