1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-13 05:44:11 +02:00

Removed static using fixit for generic types

This commit is contained in:
Brian Fiete 2020-09-19 05:25:48 -07:00
parent 2fa72ceb45
commit 93f5890d6d

View file

@ -2482,6 +2482,8 @@ void BfSystem::FindFixitNamespaces(const StringImpl& typeName, int numGenericArg
String outerName; String outerName;
if (typeDef->mOuterType != NULL) if (typeDef->mOuterType != NULL)
{ {
if (!typeDef->mGenericParamDefs.IsEmpty())
continue;
outerName += "static "; outerName += "static ";
outerName += typeDef->mOuterType->mFullName.ToString(); outerName += typeDef->mOuterType->mFullName.ToString();
} }