diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2023-03-20 19:13:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 19:13:23 +0100 |
commit | 5461b9976cc3457cfb2017e2ab1c42caca6f8eea (patch) | |
tree | c2f3169a8221040b906f89c132a3a85549e98193 /modules/gdscript/language_server/gdscript_extend_parser.cpp | |
parent | a5f34744a2195ab7e008e0e5420b6e713b9f4e01 (diff) | |
parent | 4e34cf238aeff209f5823685d7b66ae8d66118cb (diff) | |
download | redot-engine-5461b9976cc3457cfb2017e2ab1c42caca6f8eea.tar.gz |
Merge pull request #74844 from vonagam/change-class-extends-parsing
GDScript: Change parser representation of class extends
Diffstat (limited to 'modules/gdscript/language_server/gdscript_extend_parser.cpp')
-rw-r--r-- | modules/gdscript/language_server/gdscript_extend_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/language_server/gdscript_extend_parser.cpp b/modules/gdscript/language_server/gdscript_extend_parser.cpp index 146ed10ceb..2ed444c7ad 100644 --- a/modules/gdscript/language_server/gdscript_extend_parser.cpp +++ b/modules/gdscript/language_server/gdscript_extend_parser.cpp @@ -717,7 +717,7 @@ Dictionary ExtendGDScriptParser::dump_class_api(const GDScriptParser::ClassNode class_api["path"] = path; Array extends_class; for (int i = 0; i < p_class->extends.size(); i++) { - extends_class.append(String(p_class->extends[i])); + extends_class.append(String(p_class->extends[i]->name)); } class_api["extends_class"] = extends_class; class_api["extends_file"] = String(p_class->extends_path); |