[GHC] #10255: API Annotations : ExprWithTySig processing discards annotated spans

GHC ghc-devs at haskell.org
Tue Apr 7 13:23:33 UTC 2015


#10255: API Annotations : ExprWithTySig processing discards annotated spans
-------------------------------------+-------------------------------------
        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:
-------------------------------------+-------------------------------------

Comment (by alanz):

 Potential solution: call `mkHsWithBndrs`  with `t'` replaced by `(L l
 (HsParTy t'))`

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


More information about the ghc-tickets mailing list