1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Fixed CheckStaticAccess

This commit is contained in:
Brian Fiete 2020-04-07 09:03:27 -07:00
parent 13d7b0c1c5
commit 90f59b4f5d

View file

@ -6038,7 +6038,7 @@ BfIRValue BfModule::FixClassVData(BfIRValue value)
void BfModule::CheckStaticAccess(BfTypeInstance* typeInstance)
{
// Note: this is not just for perf, it fixes a field var-type resolution issue
if (!mBfIRBuilder->mIgnoreWrites)
if (mBfIRBuilder->mIgnoreWrites)
return;
PopulateType(typeInstance, BfPopulateType_DataAndMethods);