[GHC] #11426: API Annotations: Detached parens annotations for infix function

GHC ghc-devs at haskell.org
Thu Jan 14 13:01:22 UTC 2016


#11426: API Annotations: Detached parens annotations for infix function
-------------------------------------+-------------------------------------
           Reporter:  alanz          |             Owner:  alanz
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  8.1
  (Parser)                           |
           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:
-------------------------------------+-------------------------------------
 The code

 {{{#!hs
 module ParenFunBind where

 (foo x) y = x + y
 }}}

 results in the annotations for the `(` and `)` not being attached to
 anything in the final `ParsedSource`

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


More information about the ghc-tickets mailing list