Przeglądaj źródła

Fixed CheckStaticAccess

Brian Fiete 5 lat temu
rodzic
commit
90f59b4f5d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      IDEHelper/Compiler/BfModule.cpp

+ 1 - 1
IDEHelper/Compiler/BfModule.cpp

@@ -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);