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:
parent
befcbf3ddc
commit
ee71c8c97b
2 changed files with 3 additions and 13 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue