[GHC] #10209: parser: opt_kind_sig has incorrect SrcSpan

GHC ghc-devs at haskell.org
Tue Apr 7 18:57:22 UTC 2015


#10209: parser: opt_kind_sig has incorrect SrcSpan
-------------------------------------+-------------------------------------
        Reporter:  alanz             |                   Owner:  alanz
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.1
  (Parser)                           |                Keywords:
      Resolution:                    |  ApiAnnotations
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Other             |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:  Phab:D813
-------------------------------------+-------------------------------------

Comment (by alanz):

 From ezyang

 ...but the LHsKind shouldn't include the ::, right? Because that's not
 part of the kind.

 Proposed fix: pass the AnnDcolon up to whatever contains the opt_kind_sig.

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


More information about the ghc-tickets mailing list