Code: Select all
class Test
{
private int Test1()
{
return 0;
}
private void Test2()
{
int x;
[x] = Test1();
}
}
The crash happens here: TArray<ExpEmit,ExpEmit>::operator[](...) returned nullptr. The crash still happens even if the function being called actually returns multiple values.
Tested in GZDoom 4.8.0 and g4.9pre-13-g972e9cba0.