[GHC] #8524: GHC is inconsistent with the Haskell Report on which Unicode characters are allowed in string and character literals

GHC ghc-devs at haskell.org
Wed Sep 9 16:37:44 UTC 2015


#8524: GHC is inconsistent with the Haskell Report on which Unicode characters are
allowed in string and character literals
-------------------------------------+-------------------------------------
        Reporter:  oerjan            |                   Owner:
                                     |  RyanGlScott
            Type:  bug               |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  Compiler          |                 Version:  7.6.3
  (Parser)                           |
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D1235
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 My "Me" column would go Dunno, Yes, Yes. Particularly for the second case
 (Space/uniWhite in string), I don't see how allowing it would cause much
 harm and there may well be people using this behavior already. Maybe it
 would be better to just document this deviation from the Report?

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


More information about the ghc-tickets mailing list