We need to make sure the entire range of compilation cases for switch are properly byte compiled. I snuck in a bug because [switch -regexp -- ...] compilation had 0 test cases. Please look to see what other aspects aren't tested.
Logged In: YES
There weren't any [switch -regexp] compiler test cases because when I wrote the test suite, that wasn't a compiled case.
Added some more tests; difficult to do more without using a code coverage tool (which I don't have; feel free to reopen if some data along those lines becomes available).