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

Specialized-by-autocomplete-method dependency fix

This commit is contained in:
Brian Fiete 2021-01-30 14:45:00 -08:00
parent 4678dcb9e5
commit a87731e0ef
2 changed files with 5 additions and 2 deletions

View file

@ -1099,7 +1099,7 @@ void BfModule::PopulateType(BfType* resolvedTypeRef, BfPopulateType populateType
}
else
resolvedTypeRef->mTypeId = mCompiler->mCurTypeId++;
while (resolvedTypeRef->mTypeId >= (int)mContext->mTypes.size())
mContext->mTypes.Add(NULL);
mContext->mTypes[resolvedTypeRef->mTypeId] = resolvedTypeRef;