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

Fixed renaming of globals

This commit is contained in:
Brian Fiete 2020-02-08 10:41:45 -08:00
parent 234b3064ff
commit 6e485e5766
2 changed files with 31 additions and 2 deletions

View file

@ -6750,7 +6750,9 @@ void BfCompiler::GenerateAutocompleteInfo()
auto _EncodeTypeDef = [] (BfTypeDef* typeDef)
{
String typeName = typeDef->mProject->mName + ":" + typeDef->mFullName.ToString();
StringT<128> typeName = typeDef->mProject->mName;
typeName += ":";
typeName += typeDef->mFullName.ToString();
if (!typeDef->mGenericParamDefs.IsEmpty())
typeName += StrFormat("`%d", (int)typeDef->mGenericParamDefs.size());
return typeName;