bug on enums
This commit is contained in:
@@ -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]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user