blob: f56af1fcbeed1f8b7b95a8b98c6afcb60d93479e [file]
inductive T : Type 1 where
| mkT : (forall {a : Type}, a -> a) -> T
open T
-- Works
def makeT (f : forall {a : Type}, a -> a) : T :=
mkT f
def makeT' : (forall {a : Type}, a -> a) -> T :=
fun x =>
let f := @x
mkT f
def makeT'' : (forall {a : Type}, a -> a) -> T
| f => mkT f