mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Removed mForceActiveTypeDef in DoMethodDeclaration
This commit is contained in:
parent
3325d55639
commit
af783bec7e
1 changed files with 2 additions and 3 deletions
|
@ -24134,9 +24134,8 @@ void BfModule::DoMethodDeclaration(BfMethodDeclaration* methodDeclaration, bool
|
||||||
SetAndRestoreValue<bool> prevIsCapturingMethodMatchInfo;
|
SetAndRestoreValue<bool> prevIsCapturingMethodMatchInfo;
|
||||||
SetAndRestoreValue<bool> prevAllowLockYield(mContext->mAllowLockYield, false);
|
SetAndRestoreValue<bool> prevAllowLockYield(mContext->mAllowLockYield, false);
|
||||||
BfTypeState typeState(mCurTypeInstance);
|
BfTypeState typeState(mCurTypeInstance);
|
||||||
typeState.mPrevState = mContext->mCurTypeState;
|
typeState.mPrevState = mContext->mCurTypeState;
|
||||||
typeState.mForceActiveTypeDef = methodDef->mDeclaringType;
|
typeState.mCurMethodDef = methodDef;
|
||||||
typeState.mCurMethodDef = methodDef;
|
|
||||||
SetAndRestoreValue<BfTypeState*> prevTypeState(mContext->mCurTypeState, &typeState);
|
SetAndRestoreValue<BfTypeState*> prevTypeState(mContext->mCurTypeState, &typeState);
|
||||||
|
|
||||||
BfModule* resolveModule = mContext->mUnreifiedModule;
|
BfModule* resolveModule = mContext->mUnreifiedModule;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue