1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Improved Win32 debugging

This commit is contained in:
Brian Fiete 2019-11-30 13:28:40 -08:00
parent cbae124dd5
commit ad9075d1aa
11 changed files with 86 additions and 39 deletions

View file

@ -780,7 +780,7 @@ void BfContext::ValidateDependencies()
while (itr != mResolvedTypes.end())
{
auto type = itr.mCurEntry->mValue;
if (type->IsGenericTypeInstance())
if ((type->IsGenericTypeInstance()) && (type->mDefineState > BfTypeDefineState_Undefined))
{
// We can't contain deleted generic arguments without being deleted ourselves
BfGenericTypeInstance* genericType = (BfGenericTypeInstance*)type;