[GHC] #9880: ghc crashes on th splices in instance context

GHC ghc-devs at haskell.org
Mon Dec 15 13:34:01 UTC 2014


#9880: ghc crashes on th splices in instance context
-------------------------------------+-------------------------------------
              Reporter:  Philonous   |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * cc: goldfire (added)


Comment:

 HEAD says
 {{{
 T9880.hs:5:3:
     Declaration splices are allowed only at the top level: $mkFun
 }}}
 which is a lot better than crashing.

 Richard is this supposed to work now?  I recall that you largely made
 splices in local declarations work.

 Simon

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


More information about the ghc-tickets mailing list