[GHC] #8234: Remove role annotations on type synonyms

GHC ghc-devs at haskell.org
Thu Sep 5 18:42:52 CEST 2013


#8234: Remove role annotations on type synonyms
------------------------------------+-------------------------------------
       Reporter:  goldfire          |             Owner:  goldfire
           Type:  bug               |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Compiler          |           Version:  7.7
       Keywords:                    |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+-------------------------------------
 Currently, role annotations are allowed on vanilla type synonyms. However,
 Simon points out that this is very fragile, because a type synonym can be
 expanded at any time, thus losing a user's intended restriction. Solution:
 remove these annotations entirely.

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




More information about the ghc-tickets mailing list