1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Fixed enum with extension with ToString override

This commit is contained in:
Brian Fiete 2020-10-26 11:38:44 -07:00
parent 38d2eff3f6
commit f09a9b41f1
6 changed files with 25 additions and 14 deletions

View file

@ -4466,7 +4466,7 @@ void BfCompiler::ProcessAutocompleteTempType()
{
BfLogSysM("Autocomplete removing IRFunction %d\n", methodInstance->mIRFunction.mId);
module->mBfIRBuilder->Func_DeleteBody(methodInstance->mIRFunction);
module->mBfIRBuilder->Func_EraseFromParent(methodInstance->mIRFunction);
module->mBfIRBuilder->Func_SafeRename(methodInstance->mIRFunction);
}
}