Switch statement doesn't work when it's on the body of a handler method. Code where I found it out is attached.
For loop causing same bug
The problem is with break statements, including inside loops. I can confirm the problem also exists with continue statements.
For loop causing same bug
The problem is with break statements, including inside loops. I can confirm the problem also exists with continue statements.