On Thursday, 22 July 2021 at 04:37:43 UTC, Walter Bright wrote:>
there isn't much of a clue that
case A is not
case 3, which matters more and more the larger the program gets.
That's a very good point, I didn't think about local enum when trying to come up with corner cases. And IMO that's a dealbreaker for this idea, since local enums for case statements aren't that rare, at least in the code I've worked with.