mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 11:32:13 +00:00
LSP: Fix iterator in enum API dump
This commit is contained in:
parent
8936c4057b
commit
cf62289d24
@ -724,7 +724,7 @@ Dictionary ExtendGDScriptParser::dump_class_api(const GDScriptParser::ClassNode
|
||||
case ClassNode::Member::ENUM: {
|
||||
Dictionary enum_dict;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user