
#9953: Pattern synonyms don't work with GADTs
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: cactus
Type: bug | Status: closed
Priority: normal | Milestone: 7.10.1
Component: Compiler (Type | Version: 7.10.1-rc1
checker) | Keywords:
Resolution: fixed | PatternSynonyms
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by simonpj):
OK. I believe the "expect-broken" is because we get (odd-looking) error
{{{
T8968-1.hs:8:9: warning:
Redundant constraint: Maybe a ~ Maybe a
In the type signature for: C :: a -> X Maybe (Maybe a)
}}}
Now one of the minor changes in
{{{
commit 953648127cea2836ec134b03a966695ac0b36434
Author: Simon Peyton Jones