mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed autocomplete type inference issue
This commit is contained in:
parent
f4ffe67f92
commit
196b9604c1
2 changed files with 2 additions and 2 deletions
|
@ -424,7 +424,7 @@ BfTypedValue BfAutoComplete::LookupTypeRefOrIdentifier(BfAstNode* node, bool* is
|
|||
}
|
||||
else if (auto targetExpr = BfNodeDynCast<BfExpression>(node))
|
||||
{
|
||||
return _FixType(mModule->CreateValueFromExpression(targetExpr, NULL, evalExprFlags));
|
||||
return _FixType(mModule->CreateValueFromExpression(targetExpr, expectingType, evalExprFlags));
|
||||
}
|
||||
|
||||
return BfTypedValue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue