Cryptic Trace statement: Expected to see a statement and instead saw a block.
During the debug and trace, I often this remark inside my switch() block:
Problem at line 298 character 21: Expected to see a statement and instead saw a block.
{ break; }
And it cannot continue.
What is this and how to avoid?
1 Answer
-
Accepted Answer
I think Titanium is picky about your switch syntax.
Don't put { braces } around your case items, and you should be ok.