mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fix for null typeDef
This commit is contained in:
parent
014263c3a7
commit
1520acd5e4
1 changed files with 1 additions and 1 deletions
|
@ -4274,7 +4274,7 @@ void BfCompiler::GetSymbolReferences()
|
|||
for (auto& lookupKV : typeInst->mLookupResults)
|
||||
{
|
||||
auto typeDef = lookupKV.mValue.mTypeDef;
|
||||
if (typeDef->mNamespace.StartsWith(mResolvePassData->mSymbolReferenceNamespace))
|
||||
if ((typeDef != NULL) && (typeDef->mNamespace.StartsWith(mResolvePassData->mSymbolReferenceNamespace)))
|
||||
{
|
||||
rebuildTypeInstList.Add(typeInst);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue