blob: b4597d2cec805aafa62844818655a4c8aac5cf01 (
plain)
1
2
3
4
5
6
7
8
9
|
{-# LANGUAGE TypeFamilies, TypeInType, UndecidableInstances #-}
module T14066c where
type family H a b where
H a b = H b a
type X = H True Nothing -- this should fail to kind-check.
-- if it's accepted, then we've inferred polymorphic recursion for H
|