[GHC] #13895: "Illegal constraint in a type" error - is it fixable?
GHC
ghc-devs at haskell.org
Thu May 24 10:14:40 UTC 2018
#13895: "Illegal constraint in a type" error - is it fixable?
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler (Type | Version: 8.0.1
checker) | Keywords: TypeInType,
Resolution: | ImpredicativeTypes
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #12045, #14845, | Differential Rev(s): Phab:D4728
#14859 |
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* status: new => patch
* differential: => Phab:D4728
Comment:
Phab:D4728 adds a test case for the latter part of the ticket (catching an
illegal use of a constraint in a kind, as in `forall (t :: forall (k ::
Type). Typeable k => ...)`).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13895#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list