You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix Script editor completion doesn't suggest members of a script for type hints
(cherry picked from commit 7afbd5904e)
This commit is contained in:
committed by
Rémi Verschelde
parent
eb100cbddb
commit
f1231a7c7e
@@ -5746,6 +5746,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.");
|
||||
|
||||
Reference in New Issue
Block a user