From 4e5327e8b8a0f2015dfc359120ed9f79945deef8 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 25 Apr 2022 14:40:32 -0700 Subject: [PATCH] Allow user access of autoprop fields --- IDEHelper/Compiler/BfModule.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/IDEHelper/Compiler/BfModule.cpp b/IDEHelper/Compiler/BfModule.cpp index f3738af3..5a00bd24 100644 --- a/IDEHelper/Compiler/BfModule.cpp +++ b/IDEHelper/Compiler/BfModule.cpp @@ -2752,9 +2752,7 @@ void BfModule::GetAccessAllowed(BfTypeInstance* checkType, bool &allowProtected, } bool BfModule::CheckProtection(BfProtectionCheckFlags& flags, BfTypeInstance* memberOwner, BfProject* memberProject, BfProtection memberProtection, BfTypeInstance* lookupStartType) -{ - if (memberProtection == BfProtection_Hidden) - return false; +{ if (memberProtection == BfProtection_Public) return true;