1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Fixed dynamic boxability of wrappable types (such as pointers)

This commit is contained in:
Brian Fiete 2020-09-26 09:25:38 -07:00
parent befcbf3ddc
commit ee71c8c97b
2 changed files with 3 additions and 13 deletions

View file

@ -4934,7 +4934,7 @@ BfIRValue BfModule::CreateTypeData(BfType* type, Dictionary<int, int>& usedStrin
}
int boxedTypeId = 0;
if (type->IsValueType())
if ((type->IsValueType()) || (type->IsWrappableType()))
{
auto boxedType = CreateBoxedType(type, false);
if ((boxedType != NULL) && (boxedType->mIsReified))