mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixes to UndoDeclaration
This commit is contained in:
parent
296faa7510
commit
130c5fe8c8
1 changed files with 3 additions and 2 deletions
|
@ -676,8 +676,7 @@ BfMethodFlags BfMethodInstance::GetMethodFlags()
|
|||
}
|
||||
|
||||
void BfMethodInstance::UndoDeclaration(bool keepIRFunction)
|
||||
{
|
||||
|
||||
{
|
||||
if (mMethodInfoEx != NULL)
|
||||
{
|
||||
for (auto genericParam : mMethodInfoEx->mGenericParams)
|
||||
|
@ -699,6 +698,8 @@ void BfMethodInstance::UndoDeclaration(bool keepIRFunction)
|
|||
BF_ASSERT(mMethodProcessRequest->mMethodInstance == this);
|
||||
mMethodProcessRequest->mMethodInstance = NULL;
|
||||
}
|
||||
mHasStartedDeclaration = false;
|
||||
mHasBeenDeclared = false;
|
||||
mHasBeenProcessed = false;
|
||||
mIsUnspecialized = false;
|
||||
mIsUnspecializedVariation = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue