1
0
Fork 0
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:
Brian Fiete 2022-01-16 08:29:00 -05:00
parent 296faa7510
commit 130c5fe8c8

View file

@ -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;