mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed properties debug evaluation and struct calls
This commit is contained in:
parent
a399e383fa
commit
c28ed988b3
7 changed files with 195 additions and 13 deletions
|
@ -690,10 +690,10 @@ int BfMethodInstance::GetStructRetIdx(bool forceStatic)
|
|||
return 0;
|
||||
|
||||
if ((!HasThis()) || (forceStatic))
|
||||
return 0;
|
||||
return 0;
|
||||
if (!owner->IsValueType())
|
||||
return 1;
|
||||
if ((mMethodDef->mIsMutating) || ((!AllowsSplatting()) && (!owner->GetLoweredType(BfTypeUsage_Parameter))))
|
||||
return 1;
|
||||
if ((mMethodDef->mIsMutating) || (!owner->IsSplattable()) || ((!AllowsThisSplatting()) && (!owner->GetLoweredType(BfTypeUsage_Parameter))))
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue