ffc script test {
void run() {
int foo[1] = {0};
foo[0] += 1;
}
}
This crashes ZQuest. Like, "Do you want to load up a debugger?" crash. It's the += operator that does it. -= too. Apparently, they don't like arrays.
Workaround: Rewrite:
foo[1] += 1;
as
foo[1] = foo[1] + 1
I couldn't verify this in the latest beta.
Joe123 wrote:Compiles ok for me.
jman2050 wrote:I couldn't verify this in the latest beta.
Do these mean that you didn't see the bug, or that it's now fixed? Because, either way, I still get the bug in both 967 and 976.
Didn't see it.
It had been around for a long time, but then jman fixed it.
It was still happening to me for a while after it was reported fixed, but it's not happening any more now.
So totally fixed in the latest beta.