blob: 7cd30534b0a54222b166f27c6c793ecde9b5ab26 [file]
set_option warn.classDefReducibility false
class Foo where
class Bar extends Foo where
bar : True
def foo : Foo := {}
example [Bar] : Bar := {
foo with bar := by {
rename_i inst
guard_hyp inst : Bar
trivial
}
}