[GHC] #13163: Make type import/export API Annotation friendly

GHC ghc-devs at haskell.org
Sun Jan 22 14:47:57 UTC 2017


#13163: Make type import/export API Annotation friendly
-------------------------------------+-------------------------------------
        Reporter:  alanz             |                Owner:  alanz
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
  (Parser)                           |
      Resolution:                    |             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:                    |
-------------------------------------+-------------------------------------

Comment (by alanz):

 It seems the `type` keyword can appear in two different places in an
 export, so something like

 {{{#!hs
 type A(type B,C,..)
 }}}

 is valid.

 In this case `A` can be wrapped in an `IEVarType`, but `B` is a `RdrName`
 currently.

 Is this correct?

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


More information about the ghc-tickets mailing list