You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
LSP: Fix iterator in enum API dump
This commit is contained in:
@@ -724,7 +724,7 @@ Dictionary ExtendGDScriptParser::dump_class_api(const GDScriptParser::ClassNode
|
|||||||
case ClassNode::Member::ENUM: {
|
case ClassNode::Member::ENUM: {
|
||||||
Dictionary enum_dict;
|
Dictionary enum_dict;
|
||||||
for (int j = 0; j < m.m_enum->values.size(); j++) {
|
for (int j = 0; j < m.m_enum->values.size(); j++) {
|
||||||
enum_dict[m.m_enum->values[i].identifier->name] = m.m_enum->values[i].value;
|
enum_dict[m.m_enum->values[j].identifier->name] = m.m_enum->values[j].value;
|
||||||
}
|
}
|
||||||
|
|
||||||
Dictionary api;
|
Dictionary api;
|
||||||
|
|||||||
Reference in New Issue
Block a user