items.
Is this intended? it currently has correct behaviour
possible changes:
• decrease upperlimit to
values.size
,
• throw an out of range-exception when possible out of range
• throw the current exception immediately (we know it will fail) and no breaking changes.
e
Emil Kantis
07/21/2023, 6:56 PM
I think last option makes most sense. Simply add a new check here. You could make it clear that
gen
is an exhaustive with too few values.
t
tieskedh
07/24/2023, 2:37 PM
I was just thinking, maybe the best way to do this using Exhaustive is