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

Fixed __im mangling

This commit is contained in:
Brian Fiete 2020-10-23 10:12:52 -07:00
parent b71d7beb47
commit 1e020dc14e

View file

@ -739,6 +739,8 @@ String BfGNUMangler::Mangle(BfMethodInstance* methodInst)
if (methodName[i] == '@')
methodName[i] = '$';
}
if ((!mangleContext.mCPPMangle) && (!methodDef->mIsMutating) && (!methodDef->mIsStatic) && (methodInst->GetOwner()->IsValueType()))
methodName += "__im";
if (methodInst->mMethodDef->mIsOperator)
{