mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed on-demand issue triggered by Result Dispose change
This commit is contained in:
parent
38a650fc2e
commit
a33ca261d5
1 changed files with 1 additions and 1 deletions
|
@ -8314,7 +8314,7 @@ BfMethodInstance* BfModule::GetRawMethodInstanceAtIdx(BfTypeInstance* typeInstan
|
|||
{
|
||||
if (!mCompiler->mIsResolveOnly)
|
||||
{
|
||||
BF_ASSERT(methodGroup.mOnDemandKind == BfMethodOnDemandKind_NoDecl_AwaitingReference);
|
||||
BF_ASSERT((methodGroup.mOnDemandKind == BfMethodOnDemandKind_NoDecl_AwaitingReference) || (methodGroup.mOnDemandKind == BfMethodOnDemandKind_Decl_AwaitingDecl));
|
||||
methodGroup.mOnDemandKind = BfMethodOnDemandKind_Decl_AwaitingDecl;
|
||||
|
||||
// Get it from the owning module so we don't create a reference prematurely...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue