6 lines
116 B
Text
6 lines
116 B
Text
class Foo (α : Type) where x : α
|
||
|
||
instance : CoeSort (Foo α) Type where
|
||
coe _ := α
|
||
|
||
#check @id (Foo.mk ()) ()
|