[GHC] #9066: Template Haskell cannot splice an infix declaration for a data constructor

GHC ghc-devs at haskell.org
Thu Apr 13 12:58:01 UTC 2017


#9066: Template Haskell cannot splice an infix declaration for a data constructor
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  goldfire
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  7.8.2
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  th/T9066
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D424
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 I don't think this was every really fixed properly and the wrinkle still
 exists in `RnEnv`. It seems that requiring namespace information on the
 `InfixD` constructor is the best way forward.

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


More information about the ghc-tickets mailing list