Check -XGADTs in (a) type family decls (b) pattern matches
Following Trac #2905, we now require -XGADTs for *pattern matches* on GADTs, not just on *definitions*. Also I found that -XGADTs wasn't being checked when declaring type families, so I fixed that too.
Please register or sign in to comment