mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed type data population in const append alloc calc for ref type array
This commit is contained in:
parent
2cc0afa762
commit
1c310e1bec
1 changed files with 2 additions and 2 deletions
|
@ -577,7 +577,7 @@ public:
|
||||||
|
|
||||||
if (!handled)
|
if (!handled)
|
||||||
{
|
{
|
||||||
origResolvedTypeRef = mModule->ResolveTypeRef(arrayTypeRef->mElementType);
|
origResolvedTypeRef = mModule->ResolveTypeRef(arrayTypeRef->mElementType, BfPopulateType_Declaration);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (origResolvedTypeRef == NULL)
|
if (origResolvedTypeRef == NULL)
|
||||||
|
@ -713,7 +713,7 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mModule->PopulateType(resultType);
|
mModule->PopulateType(resultType, resultType->IsValueType() ? BfPopulateType_Data : BfPopulateType_Declaration);
|
||||||
|
|
||||||
if (isRawArrayAlloc)
|
if (isRawArrayAlloc)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue