Idris2/tests/idris2/coverage005/expected
Edwin Brady eb3cba5f85 Better checking for empty types
This improves coverage checking, because it can now see that things like
(Z = S x) and (x = S x) are empty. Previously, it only checked that all
possible constructors had a disjoint index. Now, it looks for matches
and checks for disjointness in the matches, which catches a lot more
things especially with equality.
2020-05-23 11:03:54 +01:00

7 lines
160 B
Plaintext

1/1: Building Cover (Cover.idr)
Main> Main.zsym is total
Main> Main.zsym': All cases covered
Main> Main.foo is total
Main> Main.bar is total
Main> Bye for now!