You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Add missing type conversions in for range
This commit is contained in:
@@ -234,6 +234,19 @@ public:
|
||||
|
||||
GDScriptDataType() = default;
|
||||
|
||||
bool operator==(const GDScriptDataType &p_other) const {
|
||||
return kind == p_other.kind &&
|
||||
has_type == p_other.has_type &&
|
||||
builtin_type == p_other.builtin_type &&
|
||||
native_type == p_other.native_type &&
|
||||
(script_type == p_other.script_type || script_type_ref == p_other.script_type_ref) &&
|
||||
container_element_types == p_other.container_element_types;
|
||||
}
|
||||
|
||||
bool operator!=(const GDScriptDataType &p_other) const {
|
||||
return !(*this == p_other);
|
||||
}
|
||||
|
||||
void operator=(const GDScriptDataType &p_other) {
|
||||
kind = p_other.kind;
|
||||
has_type = p_other.has_type;
|
||||
|
||||
Reference in New Issue
Block a user