mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
HiddenAtom fix for non-static nameless types
This commit is contained in:
parent
ad3c7ce767
commit
d67a6243eb
3 changed files with 15 additions and 6 deletions
|
@ -2093,6 +2093,7 @@ BfSystem::BfSystem()
|
|||
mEmptyAtom = GetAtom("");
|
||||
mBfAtom = GetAtom("bf");
|
||||
mGlobalsAtom = GetAtom("@");
|
||||
mHiddenAtom = GetAtom("?");
|
||||
mTypeDot = NULL;
|
||||
|
||||
if (gBfParserCache == NULL)
|
||||
|
@ -2159,6 +2160,7 @@ BfSystem::~BfSystem()
|
|||
delete project;
|
||||
|
||||
ReleaseAtom(mGlobalsAtom);
|
||||
ReleaseAtom(mHiddenAtom);
|
||||
ReleaseAtom(mBfAtom);
|
||||
ReleaseAtom(mEmptyAtom);
|
||||
ProcessAtomGraveyard();
|
||||
|
@ -2729,7 +2731,8 @@ BfTypeDef* BfSystem::FindTypeDef(const BfAtomComposite& findName, int numGeneric
|
|||
partialStartEntryIdx = -1;
|
||||
}
|
||||
|
||||
if ((typeDef->mFullName == qualifiedFindName) && (CheckTypeDefReference(typeDef, project)))
|
||||
if ((typeDef->mFullName == qualifiedFindName) && (CheckTypeDefReference(typeDef, project)) /*&&
|
||||
((allowGlobal) || (!typeDef->IsGlobalsContainer()))*/)
|
||||
{
|
||||
int curPri = curNamespacePri;
|
||||
if (typeDef->mGenericParamDefs.size() != numGenericArgs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue