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