[GHC] #8978: Type synonyms in class associated types behave strangely

GHC ghc-devs at haskell.org
Wed Apr 9 20:38:32 UTC 2014


#8978: Type synonyms in class associated types behave strangely
----------------------------------------------+----------------------------
        Reporter:  joelteon                   |            Owner:
            Type:  bug                        |           Status:  new
        Priority:  normal                     |        Milestone:
       Component:  Compiler                   |          Version:  7.8.1
      Resolution:                             |         Keywords:
Operating System:  Unknown/Multiple           |     Architecture:
 Type of failure:  GHC rejects valid program  |  Unknown/Multiple
       Test Case:                             |       Difficulty:  Unknown
        Blocking:                             |       Blocked By:
                                              |  Related Tickets:
----------------------------------------------+----------------------------

Comment (by Lemming):

 Replying to [comment:2 goldfire]:

 > An easy workaround (if you wrote the type synonym) is to use a one-
 equation type family instead.

 That helped. Thanks for the suggestion!

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


More information about the ghc-tickets mailing list