github.com
Fix switch statement (and VM to match) by schungx · Pull Request #1123 · rhaiscript/rhai
The Grain VM has identified a number of bugs in Rhai that treat the switch statement inconsistently.
Ranges are not tried after cases
If there is/are exact matched case(s) but all the guards fail, ...