lean4-htt/tests/lean/run/struct_instance_in_eqn.lean
2020-05-20 15:08:43 -07:00

7 lines
155 B
Text

structure S :=
(x : Nat) (y : Bool) (z : Nat) (w : Nat)
set_option trace.compiler.stage1 true
def g : S → S
| s@{ x := x, ..} => { s with x := x + 1 }