summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.hs
blob: c5b58cd7589bf1c24313154a971cde43d3539a05 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE RankNTypes, StandaloneKindSignatures, DataKinds, PolyKinds, TypeApplications #-}

module ExplicitSpecificity7 where

type Foo :: forall a {b}. a -> b -> b
type Foo x y = y

type Bar = Foo @Bool @Int True 42