lean4-htt/tests/lean/run/1822.lean
Leonardo de Moura 5654d8465d fix: fixes #1822
2022-11-13 18:13:29 -08:00

10 lines
211 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class F (α : Sort _) extends Inhabited α
instance : F True where
default := trivial
def X (α β) [F α] : (α → β) → β :=
fun f => f default
def Y (α : Sort _) : (True → α) → α :=
X _ _