1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix inheriting from class_name messing up constants

Fixes #29586
This commit is contained in:
Bojidar Marinov
2019-07-03 17:59:29 +03:00
parent 4cb0887660
commit 2ef438c200
2 changed files with 15 additions and 10 deletions

View File

@@ -599,7 +599,7 @@ private:
void _parse_class(ClassNode *p_class);
bool _end_statement();
void _determine_inheritance(ClassNode *p_class);
void _determine_inheritance(ClassNode *p_class, bool p_recursive = true);
bool _parse_type(DataType &r_type, bool p_can_be_void = false);
DataType _resolve_type(const DataType &p_source, int p_line);
DataType _type_from_variant(const Variant &p_value) const;