mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
GDScript: Change parser representation of class extends
This commit is contained in:
parent
550a779851
commit
4e34cf238a
10 changed files with 43 additions and 26 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue