mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed active typedef issue
This commit is contained in:
parent
0bbb8398d2
commit
a9001b73b6
1 changed files with 1 additions and 1 deletions
|
@ -8336,7 +8336,7 @@ BfTypeDef* BfModule::GetActiveTypeDef(BfTypeInstance* typeInstanceOverride, bool
|
|||
useTypeDef = typeInstance->mTypeDef;
|
||||
if ((mCurMethodState != NULL) && (mCurMethodState->mMixinState != NULL) && (useMixinDecl))
|
||||
useTypeDef = mCurMethodState->mMixinState->mMixinMethodInstance->mMethodDef->mDeclaringType;
|
||||
else if ((mCurMethodInstance != NULL) && (!mCurMethodInstance->mIsForeignMethodDef) && (mCurMethodInstance->mMethodDef->mDeclaringType != NULL))
|
||||
else if ((mCurMethodInstance != NULL) && (mCurMethodInstance->mMethodDef->mDeclaringType != NULL))
|
||||
useTypeDef = mCurMethodInstance->mMethodDef->mDeclaringType;
|
||||
else if (mContext->mCurTypeState != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue