Skip to content

Commit ce8a837

Browse files
authored
Merge pull request godotengine#96243 from AinaVT/fix-missing-parser-from-completion-context
Fix missing `GDScriptParser` reference on completion context
2 parents 40b378e + 930742f commit ce8a837

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/gdscript/gdscript_parser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ void GDScriptParser::override_completion_context(const Node *p_for_node, Complet
260260
context.current_line = tokenizer->get_cursor_line();
261261
context.current_argument = p_argument;
262262
context.node = p_node;
263+
context.parser = this;
263264
completion_context = context;
264265
}
265266

0 commit comments

Comments
 (0)