Re: [GHC] #11632: Data.Char repeated readLitChar barfs on output from show "ó1"

GHC ghc-devs at haskell.org
Sun Jul 17 07:53:33 UTC 2016


#11632: Data.Char repeated readLitChar barfs on output from show "ó1"
-------------------------------------+-------------------------------------
        Reporter:  inversemot        |                Owner:  kgupta
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Core Libraries    |              Version:  7.10.3
      Resolution:                    |             Keywords:  newcomer
Operating System:  Linux             |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:  readLitChar
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2391
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"0f0cdb6827803015a9a3924fdafaef8dbcde048f/ghc"
 0f0cdb68/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0f0cdb6827803015a9a3924fdafaef8dbcde048f"
 Bugfix for bug 11632: `readLitChar` should consume null characters

 Test Plan: The tests have been included. This change deals with a
 relatively minor edge case and should not break unrelated functionality.

 Reviewers: thomie, #core_libraries_committee, ekmett, bgamari

 Reviewed By: #core_libraries_committee, ekmett, bgamari

 Subscribers: bgamari, ekmett

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

 GHC Trac Issues: #11632
 }}}

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


More information about the ghc-tickets mailing list