[GHC] #16195: Program with trivial polymorphism leads to out of scope dictionary

GHC ghc-devs at haskell.org
Wed Jan 16 23:19:23 UTC 2019


#16195: Program with trivial polymorphism leads to out of scope dictionary
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.7
      Resolution:                    |             Keywords:
                                     |  TypedTemplateHaskell
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 I tried adding a call to `captureTopConstraints` around the `zonkTcGblEnv`
 where the splices are run but it doesn't seem to capture any evidence.

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


More information about the ghc-tickets mailing list