Hello
After upgrading from 2.34 to 2.36 i get a lot of asserts on temporary variables. It only happens with option:
SetEngineProperty(asEP_ALLOW_UNSAFE_REFERENCES, 1);
For example in edited tutorial script:
string getA() { return "A"; }
string getA2() { return getA(); } // <---
float calc(float a, float b)
{
Print(getA());
return a * b;
}
It shows asASSERT( tempVariables.GetLength() == 0 ); in
> tutorial.exe!asCCompiler::CompileStatementBlock(asCScriptNode * block, bool ownVariableScope, bool * hasReturn, asCByteCode * bc) Line 1190 C++