1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

More fixes to test methods in extensions

This commit is contained in:
Brian Fiete 2021-12-28 10:10:03 -05:00
parent deae8fe1e3
commit 4f1ed19bb8

View file

@ -5650,7 +5650,7 @@ void BfModule::DoTypeInstanceMethodProcessing(BfTypeInstance* typeInstance)
}
}
if (typeInstance->mTypeDef->mProject->mTargetType == BfTargetType_BeefTest)
if (methodInstance->mMethodDef->mDeclaringType->mProject->mTargetType == BfTargetType_BeefTest)
{
if ((customAttributes != NULL) && (customAttributes->Contains(mCompiler->mTestAttributeTypeDef)))
{