lean4-htt/tests/lean/run/compiler_proj_bug.lean
Leonardo de Moura e4a3b434d7 chore: moving tests to new frontend
@Kha The transition has begun :)
I found and fixed a few bugs, but it is going well so far.
2020-09-10 18:00:34 -07:00

9 lines
129 B
Text

new_frontend
structure S :=
(a : Nat) (h : a > 0) (b : Nat)
def f (s : S) :=
s.b - s.a
#eval f {a := 5, b := 30, h := sorry }