[GHC] #10276: ApiAnnotations : ITopenExpQuote needs SourceText

GHC ghc-devs at haskell.org
Thu Apr 9 07:10:39 UTC 2015


#10276: ApiAnnotations : ITopenExpQuote needs SourceText
-------------------------------------+-------------------------------------
              Reporter:  alanz       |             Owner:  alanz
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:  7.10.2
             Component:  Compiler    |           Version:  7.10.1
  (Parser)                           |  Operating System:  Unknown/Multiple
              Keywords:              |   Type of failure:  None/Unknown
          Architecture:              |        Blocked By:
  Unknown/Multiple                   |   Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 In the lexer, `ITopenExpQuote` can be recognised for '[e|' or '[|'.

 The token definition needs to capture the original `SourceText`, and pass
 it through to `ExpBr`, which also needs a `SrcText` field.

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


More information about the ghc-tickets mailing list