[GHC] #12853: Unpromoted tuples in TH in correctly accepted by the type checker

GHC ghc-devs at haskell.org
Sat Nov 19 14:10:47 UTC 2016


#12853: Unpromoted tuples in TH in correctly accepted by the type checker
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler (Type    |              Version:  8.1
  checker)                           |             Keywords:
      Resolution:                    |  TemplateHaskell
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 > For better or worse, TH doesn't appear to kind-check its quoted types
 until they're spliced.

 It's consistent with TH not type checking quoted expressions. And in
 general the quotation could contain a splice, in which it can't be
 checked.

 So, there seems to be no issue here, actually?

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


More information about the ghc-tickets mailing list