
#9103: hackage's type-level-0.2.4 fails to compile -------------------------------------+------------------------------------- Reporter: slyfox | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 7.8.2 checker) | Keywords: Resolution: | Architecture: Operating System: Unknown/Multiple | Unknown/Multiple Type of failure: GHC rejects | Test Case: valid program | Blocking: Blocked By: | Differential Revisions: Related Tickets: #8634 | -------------------------------------+------------------------------------- Comment (by jstolarek):
My guess is that PolyKinds is causing trouble in the not-promoted case.
Spot-on. Without `PolyKinds` this works perfectly fine.
But, the "redundant constraint" warning is almost certainly wrong.
Yes. Now that the non-promoted version compiles it produces the same warning. I'll fill a bug report. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9103#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler