You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GDScript: Fix cached parser error when using typed Dictionaries
This commit is contained in:
@@ -165,6 +165,10 @@ public:
|
||||
container_element_types.write[p_index] = DataType(p_type);
|
||||
}
|
||||
|
||||
_FORCE_INLINE_ int get_container_element_type_count() const {
|
||||
return container_element_types.size();
|
||||
}
|
||||
|
||||
_FORCE_INLINE_ DataType get_container_element_type(int p_index) const {
|
||||
ERR_FAIL_INDEX_V(p_index, container_element_types.size(), get_variant_type());
|
||||
return container_element_types[p_index];
|
||||
|
||||
Reference in New Issue
Block a user