mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed sized array const-lookup dependency issue
This commit is contained in:
parent
1e3d0308bf
commit
8a32ce5a69
6 changed files with 18 additions and 4 deletions
|
@ -4422,7 +4422,7 @@ BfTypedValue BfExprEvaluator::LookupField(BfAstNode* targetSrc, BfTypedValue tar
|
|||
}
|
||||
|
||||
mModule->PopulateType(resolvedFieldType, BfPopulateType_Data);
|
||||
mModule->AddDependency(curCheckType, mModule->mCurTypeInstance, BfDependencyMap::DependencyFlag_ReadFields);
|
||||
mModule->AddDependency(curCheckType, mModule->mCurTypeInstance, field->mIsConst ? BfDependencyMap::DependencyFlag_ConstValue : BfDependencyMap::DependencyFlag_ReadFields);
|
||||
if (fieldInstance->mHadConstEval)
|
||||
{
|
||||
mModule->AddDependency(curCheckType, mModule->mCurTypeInstance, BfDependencyMap::DependencyFlag_ConstEvalConstField);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue