[GHC] #8631: Need ImpredicativeTypes for GeneralizedNewtypeDeriving?
GHC
ghc-devs at haskell.org
Sun Feb 9 03:11:45 UTC 2014
#8631: Need ImpredicativeTypes for GeneralizedNewtypeDeriving?
-------------------------------------+------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by Richard Eisenberg <eir@…>):
In [changeset:"674c969c240632da70ed2928fa30c20a9a52e5dc/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="674c969c240632da70ed2928fa30c20a9a52e5dc"
Fix #8631.
This patch allows turning on ImpredicativeTypes while type-checking
the code generated by GeneralizedNewtypeDeriving. It does this
by adding a field ib_extensions to InstBindings, informing the
type-checker what extensions should be enabled while type-checking
the instance.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8631#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list