[GHC] #11450: Associated types at wrong type in instance

GHC ghc-devs at haskell.org
Mon Jan 25 11:31:13 UTC 2016


#11450: Associated types at wrong type in instance
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11449, #11451    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"746764cce9a111a082a13bc3cd34b50e34fd2a31/ghc"
 746764cc/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="746764cce9a111a082a13bc3cd34b50e34fd2a31"
 Refactor validity checking for type/data instances

 I found that there was some code duplication going on,
 so I've put more into the shared function checkValidFamPats.

 I did some refactoring in checkConsistentFamInst too,
 preparatory to #11450; the error messages change a little
 but no change in behaviour.
 }}}

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


More information about the ghc-tickets mailing list