mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed error on attributed property access
This commit is contained in:
parent
319f071eae
commit
701cb15349
1 changed files with 1 additions and 1 deletions
|
@ -1655,7 +1655,7 @@ bool BfAutoComplete::CheckMemberReference(BfAstNode* target, BfAstNode* dotToken
|
|||
if (attrIdentifier != NULL)
|
||||
{
|
||||
BfAttributeState attributeState;
|
||||
attributeState.mTarget = (BfAttributeTargets)(BfAttributeTargets_MemberAccess);
|
||||
attributeState.mTarget = (BfAttributeTargets)(BfAttributeTargets_MemberAccess | BfAttributeTargets_Invocation);
|
||||
attributeState.mCustomAttributes = mModule->GetCustomAttributes(attrIdentifier->mAttributes, attributeState.mTarget);
|
||||
if ((attributeState.mCustomAttributes != NULL) && (attributeState.mCustomAttributes->Contains(mModule->mCompiler->mFriendAttributeTypeDef)))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue