blob: e38494ff4b5f9594e359dd6de82336c7923ffd5c [file]
/-!
# Testing eta reduction for structure instances
Implemented in PR #2478 for issue #2451.
-/
structure A where
x : Nat
structure B extends A
structure C extends B
structure D extends B
def a : A := ⟨ 0 ⟩
def b : B := { a with }
#print b
def c : C := { a with }
#print c
def d : D := { c with }
#print d