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

Fixed some unknown-sized array resolution issues

This commit is contained in:
Brian Fiete 2020-12-24 10:29:09 -08:00
parent 0952f3f278
commit f6877d98f0
6 changed files with 38 additions and 23 deletions

View file

@ -1668,7 +1668,7 @@ void BfMSMangler::Mangle(MangleContext& mangleContext, StringImpl& name, BfType*
}
else if (type->IsSizedArray())
{
if (type->IsUnknownSizedArray())
if (type->IsUnknownSizedArrayType())
{
auto arrType = (BfUnknownSizedArrayType*)type;
name += StrFormat("arr_$", arrType->mSize);