[GHC] #8540: Template Haskell handling bug in ghc-7.7.20131115 ? (was: Template Haskell handling bug in ghc-7.7.20131115)

GHC ghc-devs at haskell.org
Tue Nov 19 10:02:22 UTC 2013


#8540: Template Haskell handling bug in ghc-7.7.20131115 ?
-------------------------------------+------------------------------------
        Reporter:  awson             |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  Runtime crash     |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Changes (by awson):

 * priority:  highest => normal


Comment:

 Ok, it seems adding a bunch of explicit exports to Data.Aeson.TH makes the
 problem go.

 It looks like previously TH implicitly exposed all variables referenced in
 exported functions and this is no longer the case.

 Which behaviour is erroneous then? Probably, current behaviour is not a
 bug at all but quite contrary - the fix of looong-standing bug?

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


More information about the ghc-tickets mailing list