I ‘ve done this on more than one occasion.
In languages where you use semi colons to define the end of a statement, I’ve written blocks like this by accident:
As you can see, because I placed a semi colon by at the end of the conditional, the code in the block will execute. Annoying as hell.
I’m working on a FlashPunk project at the moment. Action RPG. you can read the design doc on my wiki.