GADT accepted without -XGADTs
HEAD accepts this program:
module Bug where
data G a where
MkG :: G Int
Note: no extensions! GHC2021
implies GADTSyntax
, but this should require GADTs
. That's important because GADTs
implies MonoLocalBinds
.