[GHC] #13782: Bullish use of Template Haskell's newName causes GHC internal error

GHC ghc-devs at haskell.org
Thu Jun 15 02:28:22 UTC 2017


#13782: Bullish use of Template Haskell's newName causes GHC internal error
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  carlostome
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:  8.2.1
       Component:  Template Haskell  |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12503            |  Differential Rev(s):  Phab:D3641
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 A variable could conceivably be mentioned in both `ftkv_kis` and
 `ftkv_tys`, so naive appending might cause duplication. I don't think
 order is significant. If it turns out to be somewhere, we could always use
 the source locations to restore order.

 Agreed with Simon's plan in comment:10.

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


More information about the ghc-tickets mailing list