mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed invalid FinishInit call during ignored method declaration
This commit is contained in:
parent
9f0295013b
commit
2c00929751
1 changed files with 3 additions and 3 deletions
|
@ -20519,7 +20519,7 @@ void BfModule::DoMethodDeclaration(BfMethodDeclaration* methodDeclaration, bool
|
|||
isTemporaryFunc = true;
|
||||
}
|
||||
|
||||
if (mAwaitingInitFinish)
|
||||
if ((mAwaitingInitFinish) && (!mBfIRBuilder->mIgnoreWrites))
|
||||
FinishInit();
|
||||
|
||||
auto typeInstance = mCurTypeInstance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue