summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T15473.hs
blob: d6bf57b812ad1aeab5f57f226a51febcfaacccdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
-- {-# LANGUAGE UndecidableInstances #-}
module Bug where

type family Undefined :: k where {}

type family LetInterleave xs t ts is (a_ahkO :: [a]) (a_ahkP :: [[a]]) :: [[a]] where
  LetInterleave xs t ts is y z = Undefined y z