mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed false method reification during conversion operator checking
This commit is contained in:
parent
852748ae1f
commit
687addf7a5
1 changed files with 1 additions and 1 deletions
|
@ -11879,7 +11879,7 @@ BfModuleMethodInstance BfModule::ReferenceExternalMethodInstance(BfMethodInstanc
|
||||||
if (!isGenFunction)
|
if (!isGenFunction)
|
||||||
AddMethodReference(methodInstance, flags);
|
AddMethodReference(methodInstance, flags);
|
||||||
|
|
||||||
if (mBfIRBuilder->mIgnoreWrites)
|
if ((mBfIRBuilder->mIgnoreWrites) || ((flags & BfGetMethodInstanceFlag_Unreified) != 0))
|
||||||
return BfModuleMethodInstance(methodInstance, mBfIRBuilder->GetFakeVal());
|
return BfModuleMethodInstance(methodInstance, mBfIRBuilder->GetFakeVal());
|
||||||
|
|
||||||
if (mCompiler->IsSkippingExtraResolveChecks())
|
if (mCompiler->IsSkippingExtraResolveChecks())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue