lean4-htt/tests/lean/run/tcUnivIssue.lean

10 lines
274 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 L0 where f : Type _
class A0 where a : Type _
class B0 where b : Type _
instance [A0] [B0] : L0 := ⟨A0.a × B0.b⟩
class A1
instance [A1] : A0 := ⟨Nat⟩
class L1 extends A1, B0
class C0 [L0]
-- instance [L1] : L0 := inferInstance
instance [L1] : C0 := ⟨⟩