1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixes to UndoDeclaration

This commit is contained in:
Brian Fiete 2022-01-16 08:29:00 -05:00
parent 296faa7510
commit 130c5fe8c8

View file

@ -677,7 +677,6 @@ 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;