[GHC] #9582: Associated Type Synonyms do not unfold in InstanceSigs

GHC ghc-devs at haskell.org
Mon Dec 1 14:19:19 UTC 2014


#9582: Associated Type Synonyms do not unfold in InstanceSigs
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:
  andreas.abel                       |           Status:  infoneeded
                  Type:  bug         |        Milestone:  7.10.1
              Priority:  normal      |          Version:  7.8.3
             Component:  Compiler    |         Keywords:  InstanceSigs
  (Type checker)                     |  TypeFamilies
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"e6a2050ebb6da316aecec66a6795715fbab355ca/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e6a2050ebb6da316aecec66a6795715fbab355ca"
 Fix the handling of instance signatures (Trac #9582, #9833)

 This finally solves the issue of instance-method signatures that are
 more polymorphic than the instanted class method.

 See Note [Instance method signatures] in TcInstDcls.

 A very nice fix for the two Trac tickets above.
 }}}

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


More information about the ghc-tickets mailing list