[GHC] #10872: More informative assertion for non-unique TH names

GHC ghc-devs at haskell.org
Mon Sep 14 13:11:37 UTC 2015


#10872: More informative assertion for non-unique TH names
-------------------------------------+-------------------------------------
        Reporter:  jstolarek         |                   Owner:
            Type:  task              |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Your idea of where to put the assertion looks good, but I'm incredulous
 that the nasty `ASSERT` could kick in first. If there's no way to get at
 the `templateHaskellNames` without going through an assertion of their
 sensibility, then how could the contents of that list affect anything?
 Something is fishy somewhere.

 If you're stuck, post on Phab.

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


More information about the ghc-tickets mailing list