From 701cb15349ca7078f1ee6f9614a126ff0af1ca0b Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 30 Oct 2021 08:10:52 -0700 Subject: [PATCH] Fixed error on attributed property access --- IDEHelper/Compiler/BfAutoComplete.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IDEHelper/Compiler/BfAutoComplete.cpp b/IDEHelper/Compiler/BfAutoComplete.cpp index 58fe9383..616a258e 100644 --- a/IDEHelper/Compiler/BfAutoComplete.cpp +++ b/IDEHelper/Compiler/BfAutoComplete.cpp @@ -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))) {