[GHC] #11430: ApiAnnotations: work SourceText in for all integer literals
GHC
ghc-devs at haskell.org
Thu Jan 14 20:31:45 UTC 2016
#11430: ApiAnnotations: work SourceText in for all integer literals
-------------------------------------+-------------------------------------
Reporter: alanz | Owner: alanz
Type: bug | Status: new
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 8.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Incorrect API
Unknown/Multiple | annotation
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Certain syntactic elements have integers in them, such as fixity
specifications, SPECIALISE pragmas and so on.
The lexer will accept mult-radix literals, with arbitrary leading zeros in
these.
Bring in a SourceText field to each affected AST element to capture the
original literal text for use with API Annotations.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11430>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list