mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Allow '...' varargs in delegate and function types
This commit is contained in:
parent
7e139f5d7c
commit
b916273a97
5 changed files with 95 additions and 19 deletions
|
@ -1214,6 +1214,11 @@ bool BfMSMangler::FindOrCreateNameSub(MangleContext& mangleContext, StringImpl&
|
|||
{
|
||||
name += "_";
|
||||
name += methodDef->mParams[paramIdx]->mName;
|
||||
if (methodDef->mParams[paramIdx]->mParamKind == BfParamKind_VarArgs)
|
||||
{
|
||||
name += "__varargs";
|
||||
continue;
|
||||
}
|
||||
typeVec.push_back(BfNodeDynCast<BfDirectTypeReference>(methodDef->mParams[paramIdx]->mTypeRef)->mType);
|
||||
}
|
||||
name += '@';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue