[GHC] #11018: ApiAnnotations: Add SourceText for unicode tokens

GHC ghc-devs at haskell.org
Mon Oct 26 10:02:03 UTC 2015


#11018: ApiAnnotations: Add SourceText for unicode tokens
-------------------------------------+-------------------------------------
           Reporter:  alanz          |             Owner:  alanz
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  7.10.2
           Keywords:                 |  Operating System:  Unknown/Multiple
  ApiAnnotations                     |
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 At the moment there is no way to tell if a given token used its unicode
 variant or its normal one, except to look at the length of the token.

 This fails for the unicode '*'.

 Expose the original source text for unicode variants so that API
 Annotations can capture them specifically.

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


More information about the ghc-tickets mailing list