lean4-htt/tests/lean/structDefault.lean
2020-12-23 08:35:27 -08:00

11 lines
191 B
Text

structure A where
f : Nat → Nat → Nat
structure B extends A where
f (a b : Nat) := 10
structure C extends A where
f a b := 0
structure D extends A where
f a b := true -- error