Closed Sainan closed 1 month ago
It's a bit strange, but there's no logical reason for why it should be a parse error. Fixes #859.
How about:
switch 1 do case 1: --[[@fallthrough]] default: end
and I think this allows
switch 1 do --[[@fallthrough]] case 1: end
It's a bit strange, but there's no logical reason for why it should be a parse error. Fixes #859.