Closed noxabellus closed 3 years ago
Wait, I just saw the date on the switchstat PR :facepalm:
merged the day after beta2 release
Okay well that clears that up, it kind of stinks the docs are not in sync with releases lol but entirely my bad
We should be able to get a new release out soon. There are some minor details that require changes due to the shutdown of travis-ci.org, but otherwise it should be straightforward.
I created a simple script where I was trying to play with the switch statement syntax, and ran into trouble pretty much immediately. The code in the docs and tests doesn't seem to be valid syntax right now. Just to be sure, I went to the actual
tests/switch.t
and copied out the code thereThis gives an error at the first
case
:I haven't been able to find any further discussion of switch after the PR (#416 Feature/switchstat) was merged so here I am