mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Improved namespace search in emitted members in types with extensions
This commit is contained in:
parent
15fd1b5f3f
commit
7406780f57
2 changed files with 9 additions and 4 deletions
|
@ -1205,10 +1205,14 @@ public:
|
|||
|
||||
bool IsEmitted() { return mEmitParent != NULL; }
|
||||
|
||||
BfTypeDef* GetDefinition()
|
||||
BfTypeDef* GetDefinition(bool getEmitRoot = false)
|
||||
{
|
||||
if (mEmitParent != NULL)
|
||||
{
|
||||
if ((getEmitRoot) && (mEmitParent->mIsCombinedPartial))
|
||||
return mEmitParent->mPartials[0];
|
||||
return mEmitParent;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue