Describe the bug
Two equivalent function using the match/case construct with two different ways to use wildcard pattern are reported differently, with the "capture in default / wildcard" case marked as missing branch.
To Reproduce
Here is a minimal reproducible example, note testing is done pairwise to verify the functions as equivalent.
Describe the bug Two equivalent function using the match/case construct with two different ways to use wildcard pattern are reported differently, with the "capture in default / wildcard" case marked as missing branch.
To Reproduce Here is a minimal reproducible example, note testing is done pairwise to verify the functions as equivalent.
Here is the coverage.
And finally, the output of coverage debug sys.
Expected behavior All branches are covered and both function should be at 100% coverage.
Additional context This bug is very similar to #1421 from which the example was taken and simply updated to highlight the bug.