Improve error recovery in the typechecker
[ghc.git] / testsuite / tests / dependent / should_fail / BadTelescope5.hs
1 {-# LANGUAGE DataKinds, PolyKinds, ExplicitForAll #-}
2
3 module BadTelescope5 where
4
5 import Data.Kind
6 import Data.Proxy
7
8 data SameKind :: k -> k -> *
9
10 bar :: forall a k (b :: k) (c :: Proxy b) (d :: Proxy a). Proxy c -> SameKind b d
11 bar = undefined