Idris2/tests/idris2/coverage/coverage020/Issue3143.idr
Justus Matthiesen 873b3edd29
[ fix #3143 ] traverse as-patterns when constructing terms matching an impossible LHS (#3146)
* [ fix #3143 ] traverse as-patterns in `getImpossibleTerm`

* [ test ] impossible as-pattern
2023-11-23 08:29:15 +00:00

6 lines
105 B
Idris

import Data.Nat
failing "f is not covering."
f : {n : Nat} -> LT n n -> Void
f x@LTEZero impossible