[GHC] #9871: Template Haskell declaration splice causes subsequent declarations to fall out of scope

GHC ghc-devs at haskell.org
Mon Dec 8 17:00:38 UTC 2014


#9871: Template Haskell declaration splice causes subsequent declarations to fall
out of scope
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:
  RyanGlScott                        |           Status:  closed
                  Type:  bug         |        Milestone:
              Priority:  normal      |          Version:  7.8.3
             Component:              |         Keywords:
  Documentation                      |     Architecture:  Unknown/Multiple
            Resolution:  fixed       |       Difficulty:  Unknown
      Operating System:              |       Blocked By:
  Unknown/Multiple                   |  Related Tickets:
       Type of failure:  GHC         |
  rejects valid program              |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Just to clarify, which of the above workarounds would you recommend?
 Should I move all TH declaration splices to the top or bottom of the
 module? Something else?

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


More information about the ghc-tickets mailing list