1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Better handling of let/var field failures

This commit is contained in:
Brian Fiete 2025-01-23 09:10:00 -08:00
parent 624e36b89b
commit b63b4af6fe
5 changed files with 59 additions and 8 deletions

View file

@ -2607,7 +2607,14 @@ BfProjectSet* BfModule::GetVisibleProjectSet()
};
if (mCurTypeInstance != NULL)
{
_AddType(mCurTypeInstance);
if ((mContext->mCurTypeState != NULL) && (mContext->mCurTypeState->mType == mCurTypeInstance))
{
if (mContext->mCurTypeState->mCurTypeDef != NULL)
_AddProject(mContext->mCurTypeState->mCurTypeDef->mProject);
}
}
auto methodState = mCurMethodState;
while (methodState != NULL)