1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Opaque calling issue

This commit is contained in:
Brian Fiete 2025-02-15 12:58:23 -08:00
parent ab93fb83a4
commit 5000a8a824
2 changed files with 5 additions and 1 deletions

View file

@ -21983,7 +21983,7 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup,
if ((methodDef->mIsMutating) || (methodInstance->mCallingConvention == BfCallingConvention_Cdecl))
argIdx++;
}
else if (!paramVar->mResolvedType->IsValuelessType())
else if (!paramVar->mResolvedType->IsValuelessNonOpaqueType())
{
argIdx++;
}