lean4-htt/tests/lean/run/isDefEqIssue.lean
Leonardo de Moura 469de09280 fix: bug at isDefEq
The new test contains a minimal example that triggers the bug.
2020-12-02 13:27:21 -08:00

9 lines
192 B
Text

constant getA (s : String) : Array String := #[]
private def resolveLValAux (s : String) (i : Nat) : Nat :=
let s1 := s
let as := getA s1
if h : i < as.size then
i - 1
else
i