
#16140: Cannot create type synonym for quantified constraint without ImpredicativeTypes -------------------------------------+------------------------------------- Reporter: Ashley Yakeley | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: | QuantifiedConstraints, | ImpredicativeTypes Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
Do you think we'd be better off not calling checkValidType here?
Yes! If we are going to have `checkTySynRhs` at all, then we should do
all the work there.
This is the commit that added `checkTySynRhs`.
{{{
commit 35c9de7ca053eda472cb446c53bcd2007bfd8394
Author: Simon Peyton Jones