Explorar el Código

ToCleanAttributeString now removes explicit System namespace

Brian Fiete hace 3 meses
padre
commit
9e9b170548
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      IDEHelper/Compiler/BfAst.cpp

+ 2 - 1
IDEHelper/Compiler/BfAst.cpp

@@ -1273,7 +1273,8 @@ String BfTypeReference::ToCleanAttributeString()
 		if (typeRefName.EndsWith("Attribute"))
 			typeRefName.RemoveFromEnd(9);
 	}
-
+	if (typeRefName.StartsWith("System."))
+		typeRefName.Remove(0, 7);
 	return typeRefName;
 }