Is this a bug on Spin and/or the Propeller Tool?
TinkersALot
Posts: 535
I think that values in a case repeating is compiled (I think the code crashes, but it seems the construct is invalid and should not compile?)
try this:
try this:
case _some_var 1: code and stuff 2: other code and stuff 1: huh?
Comments
-Phil
Yes it does compile, but I had some cogs that were crashing, and I saw this "anti-pattern" in the code and it looks very suspicious to me. I understand what you are saying about non-constants being evaluated though. I will keep burning in the code without the repeating condition values and see what happens.