[GHC] #8246: Role annotations does not allow the use of parenthesis

GHC ghc-devs at haskell.org
Wed Sep 18 03:39:51 CEST 2013


#8246: Role annotations does not allow the use of parenthesis
--------------------------------------+------------------------------------
        Reporter:  DaniilFrumin       |            Owner:  goldfire
            Type:  bug                |           Status:  new
        Priority:  normal             |        Milestone:
       Component:  Compiler (Parser)  |          Version:  7.7
      Resolution:                     |         Keywords:  roles
Operating System:  Unknown/Multiple   |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown       |       Difficulty:  Unknown
       Test Case:                     |       Blocked By:
        Blocking:                     |  Related Tickets:
--------------------------------------+------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:f4046b508a5a71ff2e28f438b30048867dbad428/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="f4046b508a5a71ff2e28f438b30048867dbad428"
 Change role annotation syntax.

 This fixes bugs #8185, #8234, and #8246. The new syntax is explained
 in the comments to #8185, appears in the "Roles" subsection of the
 manual, and on the [wiki:Roles] wiki page.

 This change also removes the ability for a role annotation on type
 synonyms, as noted in #8234.
 }}}

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



More information about the ghc-tickets mailing list