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

GHC ghc-devs at haskell.org
Thu Aug 25 15:04:17 UTC 2016


#11632: Data.Char repeated readLitChar barfs on output from show "ó1"
-------------------------------------+-------------------------------------
        Reporter:  inversemot        |                Owner:  kgupta
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:  8.0.2
       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:"1c53ac17ee8716ec07d782079462f4218d8f0606/ghc"
 1c53ac17/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1c53ac17ee8716ec07d782079462f4218d8f0606"
 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

 (cherry picked from commit 0f0cdb6827803015a9a3924fdafaef8dbcde048f)
 }}}

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


More information about the ghc-tickets mailing list