mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
mTypeOptionsIdx fix during comptime with TypeDeclaration.ResolvedType
This commit is contained in:
parent
8102de259f
commit
7864304d9e
1 changed files with 1 additions and 1 deletions
|
@ -6512,7 +6512,7 @@ BfIRValue BfModule::CreateTypeData(BfType* type, BfCreateTypeDataContext& ctx, b
|
|||
}
|
||||
|
||||
int stackCount = 0;
|
||||
if ((typeInstance != NULL) && (typeInstance->mTypeOptionsIdx != -1))
|
||||
if ((typeInstance != NULL) && (typeInstance->mTypeOptionsIdx >= 0))
|
||||
{
|
||||
auto typeOptions = mSystem->GetTypeOptions(typeInstance->mTypeOptionsIdx);
|
||||
if (typeOptions->mAllocStackTraceDepth != -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue