[GHC] #11974: `default` declaration doesn't allow higher-kinded types

GHC ghc-devs at haskell.org
Thu Aug 25 15:04:16 UTC 2016


#11974: `default` declaration doesn't allow higher-kinded types
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  typecheck/should_compile/T11974,
                                     |  typecheck/should_fail/T11974b
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2136
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"37bfc6c91f02f6696aee875fbcc8acd0f7a6317b/ghc" 37bfc6c/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="37bfc6c91f02f6696aee875fbcc8acd0f7a6317b"
 Fix #11974 by adding a more smarts to TcDefaults.

 Test cases:
   typecheck/should_compile/T11974
   typecheck/should_fail/T11974b

 (cherry picked from commit 9a34bf1985035858ece043bf38b47b6ff4b88efb)
 }}}

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


More information about the ghc-tickets mailing list