void main()
{
for(;;)
{
}
}
After preparing the above code, executing asbuild stopped at assert.
$ ./asbuild.exe config.txt script.as x.bin
Assertion failed: *(asBYTE*)(bc+length-1) == asBC_RET, file ..\..\source\as_restore.cpp, line 4671
However, `while (true)` is fine.
Also, I have not examined this properly,
It seems to be related to this matter, so I will write on it later.
void test()
{
:
return;
:
:
}
Perhaps, I think so,
If you have an `Unreachable code` like this, after you do
SaveBytecode, you` assert` this binary on loading.