You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #62699 from cdemirer/fix-autocomplete-var-assigned-same-statement
This commit is contained in:
@@ -1855,7 +1855,7 @@ static bool _guess_identifier_type(GDScriptParser::CompletionContext &p_context,
|
||||
|
||||
while (suite) {
|
||||
for (int i = 0; i < suite->statements.size(); i++) {
|
||||
if (suite->statements[i]->start_line > p_context.current_line) {
|
||||
if (suite->statements[i]->end_line >= p_context.current_line) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user