Skip to content

Commit

Permalink
Merge pull request godotengine#81599 from ShadowApex/shadowapex/fix-e…
Browse files Browse the repository at this point in the history
…xtendparser-signals

Fix dumping of signal API parameters
  • Loading branch information
YuriSizov committed Sep 14, 2023
2 parents 595aca1 + 1881328 commit 1437b3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ Dictionary ExtendGDScriptParser::dump_class_api(const GDScriptParser::ClassNode
api["name"] = m.signal->identifier->name;
Array pars;
for (int j = 0; j < m.signal->parameters.size(); j++) {
pars.append(String(m.signal->parameters[i]->identifier->name));
pars.append(String(m.signal->parameters[j]->identifier->name));
}
api["arguments"] = pars;
if (const lsp::DocumentSymbol *symbol = get_symbol_defined_at_line(LINE_NUMBER_TO_INDEX(m.signal->start_line))) {
Expand Down

0 comments on commit 1437b3a

Please sign in to comment.