Re: [GHC] #11632: Data.Char repeated readLitChar barfs on output from show "ó1"
GHC
ghc-devs at haskell.org
Thu Feb 25 04:16:42 UTC 2016
#11632: Data.Char repeated readLitChar barfs on output from show "ó1"
-------------------------------------+-------------------------------------
Reporter: inversemot | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 7.10.3
Resolution: | Keywords:
Operating System: Linux | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by inversemot):
By the way this applies to any of the numeric escapes followed by a
number. ó1 just happens to be the string quickcheck found while checking
that Unicode characters were parsed correctly. So technically this effects
megaparsec's charLiteral which uses readLitChar.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11632#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list