mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed bugs with type extensions
This commit is contained in:
parent
55f3bdfa54
commit
38a650fc2e
5 changed files with 81 additions and 15 deletions
|
@ -549,6 +549,13 @@ void BfAutoComplete::AddCurrentTypes(BfTypeInstance* typeInst, const StringImpl&
|
|||
auto typeDef = typeInst->mTypeDef;
|
||||
for (auto nestedTypeDef : typeDef->mNestedTypes)
|
||||
{
|
||||
if (nestedTypeDef->mIsPartial)
|
||||
{
|
||||
nestedTypeDef = mSystem->GetCombinedPartial(nestedTypeDef);
|
||||
if (nestedTypeDef == NULL)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (CheckProtection(nestedTypeDef->mProtection, allowProtected, allowPrivate))
|
||||
AddTypeDef(nestedTypeDef, filter, onlyAttribute);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue