[GHC] #9681: Printing of "\n" in error messages is broken

GHC ghc-devs at haskell.org
Thu Oct 30 16:54:16 UTC 2014


#9681: Printing of "\n" in error messages is broken
-------------------------------------+-------------------------------------
              Reporter:  oerjan      |            Owner:
                  Type:  bug         |           Status:  infoneeded
              Priority:  high        |        Milestone:  7.10.1
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:  1+"\n"      |
              Blocking:              |
Differential Revisions:  Phab:D405   |
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"995ea1c8335631d6e4db1ff4da38251b2f396edb/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="995ea1c8335631d6e4db1ff4da38251b2f396edb"
 Fixed missing trailing newline bug in pretty printer

 Summary:
 Pretty printer didn't produce trailing newline in strings in error
 messages.

 Reviewers: simonpj, austin

 Reviewed By: austin

 Subscribers: thomie, carter, simonmar, mlen

 Differential Revision: https://phabricator.haskell.org/D405

 GHC Trac Issues: #9681
 }}}

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


More information about the ghc-tickets mailing list