mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed autocomplete overrides for properties
This commit is contained in:
parent
6af96d8f6d
commit
a17f8961b0
1 changed files with 6 additions and 1 deletions
|
@ -2132,7 +2132,12 @@ void BfAutoComplete::AddOverrides(const StringImpl& filter)
|
|||
}
|
||||
auto methodInst = methodGroup.mDefault;
|
||||
|
||||
if ((!methodDef->mIsVirtual) || (methodDef->mIsOverride) || (methodDef->mMethodType != BfMethodType_Normal))
|
||||
if ((!methodDef->mIsVirtual) || (methodDef->mIsOverride))
|
||||
continue;
|
||||
|
||||
if ((methodDef->mMethodType != BfMethodType_Normal) &&
|
||||
(methodDef->mMethodType != BfMethodType_PropertyGetter) &&
|
||||
(methodDef->mMethodType != BfMethodType_PropertySetter))
|
||||
continue;
|
||||
|
||||
if ((methodInst->mVirtualTableIdx >= 0) && (methodInst->mVirtualTableIdx < mModule->mCurTypeInstance->mVirtualMethodTable.size()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue