• Alan Zimmerman's avatar
    ApiAnnotations: Add SourceText for unicode tokens · fe95463b
    Alan Zimmerman authored
    Summary:
    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.
    
    Test Plan: ./validate
    
    Reviewers: mpickering, austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1473
    
    GHC Trac Issues: #11018
    fe95463b
T11018.stderr 1.18 KB