[GHC] #10196: Regression regarding Unicode subscript characters in identifiers

GHC ghc-devs at haskell.org
Fri Jul 3 20:44:16 UTC 2015


#10196: Regression regarding Unicode subscript characters in identifiers
-------------------------------------+-------------------------------------
        Reporter:  thomie            |                   Owner:
            Type:  bug               |  thoughtpolice
        Priority:  normal            |                  Status:  patch
       Component:  Compiler          |               Milestone:  7.10.3
  (Parser)                           |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #5108             |  Differential Revisions:  Phab:D969
-------------------------------------+-------------------------------------

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

 In [changeset:"6b01d3ce6c681428e7a9865af85685c2a76ba657/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6b01d3ce6c681428e7a9865af85685c2a76ba657"
 parser: Allow Lm (MODIFIER LETTER) category in identifiers

 Easy fix in the parser to stop regressions, due to Unicode 7.0 changing
 the classification of some prior code points.

 Signed-off-by: Austin Seipp <austin at well-typed.com>

 Test Plan: `tests/parser/should_compile/T10196.hs`

 Reviewers: hvr, austin, bgamari

 Reviewed By: austin, bgamari

 Subscribers: thomie, bgamari

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

 GHC Trac Issues: #10196
 }}}

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


More information about the ghc-tickets mailing list