1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Refactored generic type instances to be a BfGenericTypeInfo member

This commit is contained in:
Brian Fiete 2020-06-05 07:01:58 -07:00
parent 5d9a5f183d
commit 9f00539d90
16 changed files with 504 additions and 578 deletions

View file

@ -2245,7 +2245,7 @@ void BfIRBuilder::CreateTypeDeclaration(BfType* type, bool forceDbgDefine)
if (checkType->IsArray())
{
BfArrayType* arrayType = (BfArrayType*)checkType;
checkType = arrayType->mTypeGenericArguments[0];
checkType = arrayType->mGenericTypeInfo->mTypeGenericArguments[0];
}
BfTypeInstance* outerType = NULL;
if (!checkType->IsBoxed())