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

GHC ghc-devs at haskell.org
Fri Feb 19 15:54:27 UTC 2016


#10196: Regression regarding Unicode subscript characters in identifiers
-------------------------------------+-------------------------------------
        Reporter:  thomie            |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  7.10.2
       Component:  Compiler          |              Version:  7.10.1
  (Parser)                           |             Keywords:  unicode,
      Resolution:  fixed             |  report-impact
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHC rejects       |            Test Case:
  valid program                      |  parser/should_compile/T10196,
                                     |  parser/should_fail/T10196Fail1,
                                     |  parser/should_fail/T10196Fail2
      Blocked By:                    |             Blocking:
 Related Tickets:  #5108             |  Differential Rev(s):  Phab:D969
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Thomas Miedema <thomasmiedema@…>):

 In [changeset:"d738e66450ec09f69211330df05e381bfe996c13/ghc" d738e66/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d738e66450ec09f69211330df05e381bfe996c13"
 Modifier letter in middle of identifier is ok

 Refactoring only. Cleanup some loose ends from #10196.

 Initially the idea was to only allow modifier letters at the end of
 identifiers. Since we later decided to allow modifier letters also in
 the middle of identifiers (because not doing so would not fix the
 regression completely), the names `suffix` and `okIdSuffixChar` don't
 seem appropriate anymore.

 Remove TODO. Move test from should_fail to should_compile.
 }}}

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


More information about the ghc-tickets mailing list