[GHC] #11170: (read ".9") :: Double unable to parse

GHC ghc-devs at haskell.org
Mon Dec 7 15:29:21 UTC 2015


#11170: (read ".9") :: Double unable to parse
-------------------------------------+-------------------------------------
        Reporter:  varosi            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  7.10.2
      Resolution:                    |             Keywords:  Read
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ekmett):

 In the past we've avoided in the past making GHC-specific changes in what
 `read` will accept to avoid hard to track down differences across
 compilers.

 We've rejected at least one similar generalization request (binary
 literals) on those grounds. #10092

 That said, there is already a chink in that armor as I believe we've let
 in a patch in that generalized `lex` to allow a bit more unicode. #10444

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


More information about the ghc-tickets mailing list