mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
Fix Script editor completion doesn't suggest members of a script for type hints
This commit is contained in:
parent
004c174086
commit
7afbd5904e
2 changed files with 11 additions and 1 deletions
|
|
@ -5786,6 +5786,7 @@ bool GDScriptParser::_parse_type(DataType &r_type, bool p_can_be_void) {
|
|||
can_index = false;
|
||||
tokenizer->advance();
|
||||
} break;
|
||||
case GDScriptTokenizer::TK_CURSOR:
|
||||
case GDScriptTokenizer::TK_IDENTIFIER: {
|
||||
if (can_index) {
|
||||
_set_error("Unexpected identifier.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue