[GHC] #4124: GHC rejects instance quotations with splices in the instance head

GHC ghc-devs
Sat Oct 5 17:16:56 UTC 2013


#4124: GHC rejects instance quotations with splices in the instance head
----------------------------------------------+----------------------------
        Reporter:  lilac                      |            Owner:
            Type:  bug                        |           Status:  closed
        Priority:  low                        |        Milestone:  7.6.2
       Component:  Template Haskell           |          Version:  6.12.1
      Resolution:  fixed                      |         Keywords:
Operating System:  Unknown/Multiple           |     Architecture:
 Type of failure:  GHC rejects valid program  |  Unknown/Multiple
       Test Case:  th/4124                    |       Difficulty:  Unknown
        Blocking:                             |       Blocked By:
                                              |  Related Tickets:
----------------------------------------------+----------------------------
Changes (by monoidal):

 * status:  new => closed
 * difficulty:   => Unknown
 * resolution:   => fixed
 * testcase:   => th/4124
 * blockedby:  4230 =>


Comment:

 This is now fixed thanks to new TH.

 BTW for older GHC you could work around it by enabling -XFlexibleInstances
 (as the error suggests), but that was unneccessary and is now not needed.

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



More information about the ghc-tickets mailing list