-
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
I have found that Gren 0.6.3 compiles the following function without any objections:
fn r =
when r is
{ a = False, b = True } -> 1
{ a = True, b = False } -> 2
That surprised me because the following branches are missing:
{ a = False, b = False } -> ...
{ a = True, b = True } -> ...
The exhaustiveness checking does evidently not function as it should. It seems to only affect record patterns, which is plausible because they were added/extended most recently.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed