Hi!
in scriptarray.cpp there are nasty bug in ScriptArrayIsEmpty_Generic function - result of self->IsEmpty is not returned to asIScriptGeneric, because missing call such as *reinterpret_cast<bool *>(gen->GetAddressOfReturnLocation()) = self->IsEmpty();