mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed actualTypeDef selection for autocomplete
This commit is contained in:
parent
9444a0d936
commit
c78d1aca87
1 changed files with 2 additions and 1 deletions
|
@ -4442,7 +4442,8 @@ void BfCompiler::ProcessAutocompleteTempType()
|
|||
while (actualTypeDefItr)
|
||||
{
|
||||
auto checkTypeDef = *actualTypeDefItr;
|
||||
if ((!checkTypeDef->mIsPartial) /*&& (checkTypeDef->mTypeCode != BfTypeCode_Extension)*/ &&
|
||||
if ((!checkTypeDef->mIsPartial) && (checkTypeDef->mName == tempTypeDef->mName) &&
|
||||
(checkTypeDef->mIsFunction == tempTypeDef->mIsFunction) && (checkTypeDef->mIsDelegate == tempTypeDef->mIsDelegate) &&
|
||||
((checkTypeDef->mTypeCode == tempTypeDef->mTypeCode) || (tempTypeDef->mTypeCode == BfTypeCode_Extension) || (tempTypeDef->mTypeCode == BfTypeCode_Inferred)))
|
||||
{
|
||||
if ((checkTypeDef->NameEquals(tempTypeDef)) && (checkTypeDef->mIsCombinedPartial) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue