mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 06:14:10 +02:00
Fixed mangle collision with mut/non-mut
This commit is contained in:
parent
0c916aafdf
commit
43187e233a
1 changed files with 2 additions and 0 deletions
|
@ -1181,6 +1181,8 @@ bool BfMSMangler::FindOrCreateNameSub(MangleContext& mangleContext, StringImpl&
|
||||||
name += "_";
|
name += "_";
|
||||||
name += "this";
|
name += "this";
|
||||||
typeVec.push_back(delegateInfo->mFunctionThisType);
|
typeVec.push_back(delegateInfo->mFunctionThisType);
|
||||||
|
if ((delegateInfo->mFunctionThisType->IsValueType()) && (methodDef->mIsMutating))
|
||||||
|
name += "_mut";
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int paramIdx = 0; paramIdx < (int)methodDef->mParams.size(); paramIdx++)
|
for (int paramIdx = 0; paramIdx < (int)methodDef->mParams.size(); paramIdx++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue