mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 19:21:39 +03:00
eb3cba5f85
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.
7 lines
160 B
Plaintext
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!
|