mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed some struct-init-detection code
This commit is contained in:
parent
cc47080e96
commit
f869bb3978
2 changed files with 61 additions and 1 deletions
|
@ -3586,7 +3586,7 @@ BfTypedValue BfExprEvaluator::LookupField(BfAstNode* targetSrc, BfTypedValue tar
|
|||
}
|
||||
}
|
||||
|
||||
int fieldIdx = -1;
|
||||
int fieldIdx = mResultLocalVarField - 1;
|
||||
if (fieldIdx == -1)
|
||||
{
|
||||
mResultLocalVarField = minMergedDataIdx + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue