IGameArt
Member
Okay, so since the bugfix for this issue has been pushed back to runtime version 2.2.3, at least another 3+ months away, and I can't afford to wait that long, I'd like to try and see under what kinds of circumstances the ternary operators actually compile using the yyc module.
I know, from the bug report the following code will fail:
I'll be posting my own experiments with ways that ternary operators won't cause the compiler to throw an error, but if anyone else out there has experience in this, please feel free to post your findings as well so that we can help the community as a whole while we wait for this fix to be released.
I know, from the bug report the following code will fail:
Code:
var arg0 = 5;
return (arg0 > 0 ? arg0 : -arg0)