Menu

#27 Switches don't work on handler's method body

open
nobody
5
2012-07-30
2012-07-26
Adriano
No

Switch statement doesn't work when it's on the body of a handler method.
Code where I found it out is attached.

Discussion

  • Adriano

    Adriano - 2012-07-26
     
  • Robert Dyer

    Robert Dyer - 2012-07-30

    For loop causing same bug

     
  • Robert Dyer

    Robert Dyer - 2012-07-30

    The problem is with break statements, including inside loops. I can confirm the problem also exists with continue statements.

     
  • Robert Dyer

    Robert Dyer - 2012-07-30
    • labels: 1325359 --> Code Transformation