diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/T15368.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/T15368.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T15368.hs b/testsuite/tests/typecheck/should_compile/T15368.hs index 2db485740f..a3ac8d0800 100644 --- a/testsuite/tests/typecheck/should_compile/T15368.hs +++ b/testsuite/tests/typecheck/should_compile/T15368.hs @@ -2,10 +2,12 @@ module T15368 where +import Data.Kind (Type) + transitive :: (a, b) -> (b, c) -> (a, c) transitive = undefined trigger :: a -> b -> (F a b, F b a) trigger _ _ = _ `transitive` trigger _ _ -type family F (n :: *) (m :: *) :: * +type family F (n :: Type) (m :: Type) :: Type |