mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed autocomplete when previous argument was an indexer
This commit is contained in:
parent
bc717c7dcb
commit
2505a6d6eb
1 changed files with 6 additions and 4 deletions
|
@ -15218,15 +15218,17 @@ void BfExprEvaluator::Visit(BfIndexerExpression* indexerExpr)
|
|||
wasCapturingMethodMatchInfo = autoComplete->mIsCapturingMethodMatchInfo;
|
||||
autoComplete->mIsCapturingMethodMatchInfo = false;
|
||||
}
|
||||
defer
|
||||
{
|
||||
if (autoComplete != NULL)
|
||||
autoComplete->mIsCapturingMethodMatchInfo = wasCapturingMethodMatchInfo;
|
||||
};
|
||||
|
||||
if ((!isFailurePass) && (!methodMatcher.WantsCheckMethod(protectionCheckFlags, startCheckTypeInst, curCheckType, checkMethod)))
|
||||
continue;
|
||||
|
||||
methodMatcher.mCheckedKind = checkedKind;
|
||||
methodMatcher.CheckMethod(curCheckType, checkMethod, false);
|
||||
|
||||
if (autoComplete != NULL)
|
||||
autoComplete->mIsCapturingMethodMatchInfo = wasCapturingMethodMatchInfo;
|
||||
methodMatcher.CheckMethod(curCheckType, checkMethod, false);
|
||||
|
||||
if ((methodMatcher.mBestMethodDef == checkMethod) ||
|
||||
((foundProp == NULL) && (methodMatcher.mBackupMethodDef == checkMethod)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue