mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed attribs for properties, renamed SkipAccessCheckAttribute
This commit is contained in:
parent
9c44273737
commit
04a46850d6
19 changed files with 162 additions and 58 deletions
|
@ -1438,11 +1438,14 @@ bool BfAutoComplete::CheckMemberReference(BfAstNode* target, BfAstNode* dotToken
|
|||
if ((attrIdentifier = BfNodeDynCast<BfAttributedIdentifierNode>(memberName)))
|
||||
{
|
||||
memberName = attrIdentifier->mIdentifier;
|
||||
if ((memberName == NULL) && (IsAutocompleteNode(attrIdentifier->mAttributes)))
|
||||
if (IsAutocompleteNode(attrIdentifier->mAttributes))
|
||||
{
|
||||
auto bfParser = attrIdentifier->mAttributes->GetSourceData()->ToParser();
|
||||
int cursorIdx = bfParser->mCursorIdx;
|
||||
isAutocompletingName = cursorIdx == attrIdentifier->mAttributes->GetSrcEnd();
|
||||
if (cursorIdx == attrIdentifier->mAttributes->GetSrcEnd())
|
||||
isAutocompletingName = true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue