lean4-htt/old_tests/tests/lean/1917.lean
2018-04-10 12:56:55 -07:00

18 lines
313 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def foo : → false
| x :=
match x with
y := let z := y in foo z /- should fail -/
end
meta def foo2 : → false
| x :=
match x with
y := let z := y in foo2 z /- should work -/
end
def boo : → bool
| 0 m := ff
| (n + 1) m :=
match m with
o := let z := n in boo n (m+1)
end