[GHC] #9833: GHCi suggestion for instance signature (InstanceSigs) is wrong

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


#9833: GHCi suggestion for instance signature (InstanceSigs) is wrong
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:
  Iceland_jack                       |           Status:  new
                  Type:  bug         |        Milestone:
              Priority:  normal      |          Version:  7.8.2
             Component:  GHCi        |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:  Linux       |       Difficulty:  Unknown
       Type of failure:  GHC         |       Blocked By:
  rejects valid program              |  Related Tickets:
             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/9833#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list