1 2 3 4 5 6 7 8 9 10 11
{-# LANGUAGE GADTs #-} -- Triggered a desugaring bug in earlier verison module Shouldcompile where data T a where T1 :: Int -> T Int f :: (T a, a) -> Int f (T1 x, z) = z