mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Interop fixes and tests, fixing xplat struct passing issues
This commit is contained in:
parent
4cf6af53bd
commit
5da74382d4
31 changed files with 1569 additions and 239 deletions
|
@ -1566,7 +1566,7 @@ void BfMSMangler::Mangle(MangleContext& mangleContext, StringImpl& name, BfType*
|
|||
}
|
||||
}
|
||||
else if (type->IsTypeInstance())
|
||||
{
|
||||
{
|
||||
auto typeInstance = (BfTypeInstance*)type;
|
||||
auto typeDef = typeInstance->mTypeDef;
|
||||
|
||||
|
@ -1577,7 +1577,7 @@ void BfMSMangler::Mangle(MangleContext& mangleContext, StringImpl& name, BfType*
|
|||
name += "E";
|
||||
name += "A";
|
||||
}
|
||||
else if (((type->IsGenericTypeInstance()) || (type->IsTuple()) || (type->IsEnum())) && (mangleContext.mInRet))
|
||||
else if (((type->IsGenericTypeInstance()) || (type->IsComposite()) || (type->IsEnum())) && (mangleContext.mInRet))
|
||||
name += "?A";
|
||||
|
||||
Mangle(mangleContext, name, typeInstance, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue