bug on enums

This commit is contained in:
mr
2026-02-03 08:44:47 +01:00
parent 186ba3e689
commit 30e6c9a618

View File

@@ -124,6 +124,9 @@ func (d DataType) API() string { // API - Returns the API name of the data type
} }
func (d DataType) String() string { // String - Returns the string name of the data type func (d DataType) String() string { // String - Returns the string name of the data type
if d < 0 {
return ""
}
return Str[d] return Str[d]
} }