lean4-htt/tests/lean/structDefValueOverride.lean
2021-08-10 18:55:12 -07:00

6 lines
84 B
Text

structure A where
x : Nat
structure B extends A where
x := 1
x := 2 -- Error