[GHC] #11785: Merge types and kinds in Template Haskell
GHC
ghc-devs at haskell.org
Thu Aug 17 14:16:29 UTC 2017
#11785: Merge types and kinds in Template Haskell
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: (none)
Type: task | Status: patch
Priority: normal | Milestone:
Component: Template Haskell | Version: 8.1
Resolution: | Keywords: TypeInType
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D3751,
Wiki Page: | Phab:D3854
-------------------------------------+-------------------------------------
Comment (by Ryan Scott <ryan.gl.scott@…>):
In [changeset:"c948b7865ace38d3d6912db0fc271aa7e9f70d2b/ghc"
c948b786/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="c948b7865ace38d3d6912db0fc271aa7e9f70d2b"
Fix #11785 by making reifyKind = reifyType
Summary:
This ties up the last loose end in Template Haskell's separate
code paths for types and kinds. By making `reifyKind = reifyType` in
`TcSplice`, types and kinds are now treated on equal terms in TH.
This is itself a small patch, but most of the heavy lifting to make this
possible was done in ad7b945257ea262e3f6f46daa4ff3e451aeeae0b.
Test Plan: ./validate
Reviewers: goldfire, austin, bgamari
Reviewed By: goldfire
Subscribers: rwbarton, thomie
GHC Trac Issues: #11785
Differential Revision: https://phabricator.haskell.org/D3854
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11785#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list