[GHC] #10363: ApiAnnotations : HsForAllTy discards parens

GHC ghc-devs at haskell.org
Tue Apr 28 18:47:05 UTC 2015


#10363: ApiAnnotations : HsForAllTy discards parens
-------------------------------------+-------------------------------------
              Reporter:  alanz       |             Owner:  alanz
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:  7.10.2
             Component:  Compiler    |           Version:  7.10.1
              Keywords:              |  Operating System:  Unknown/Multiple
  ApiAnnotations                     |   Type of failure:  None/Unknown
          Architecture:              |        Blocked By:
  Unknown/Multiple                   |   Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 The annotations for the following code

 {{{#!hs
 pTokenCostStr :: forall a .((Show a) => [a] -> Int -> String)
 }}}

 have detached annotations for the parens around `(Show a)... String`.

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


More information about the ghc-tickets mailing list