[GHC] #8912: Documentation stale: implicit-parameter constraints seem to be allowed in instance declarations now.

GHC ghc-devs at haskell.org
Mon Mar 24 10:26:48 UTC 2014


#8912: Documentation stale: implicit-parameter constraints seem to be allowed in
instance declarations now.
-------------------------------------+-------------------------------------
        Reporter:  andreas.abel      |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Documentation     |          Version:  7.6.3
      Resolution:                    |         Keywords:  implicit-
Operating System:  Unknown/Multiple  |  parameter instance-constraints
 Type of failure:  Documentation     |     Architecture:  Unknown/Multiple
  bug                                |       Difficulty:  Easy (less than 1
       Test Case:                    |  hour)
        Blocking:                    |       Blocked By:
                                     |  Related Tickets:
-------------------------------------+-------------------------------------

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

 In [changeset:"a8b7b28cdb98d14c6fb43d5ad3293fd4a5c1f8b4/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a8b7b28cdb98d14c6fb43d5ad3293fd4a5c1f8b4"
 Implicit parameters should not be allowed in class and instance
 declarations

 Trac #8912 pointed out that GHC 7.4 and 7.6 have omitted this test,
 although
 7.2 and earlier had it.  This patch puts the test back in, and refactors a
 little.
 }}}

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


More information about the ghc-tickets mailing list