Revert "Fixed the jumping to function definition using 'Ctrl+LMB'."
This reverts commit 7eb6367d5c
.
Fixes #73058.
Fixes #73167.
This caused regressions, we'll retry with fixes for 4.1.
This commit is contained in:
parent
4a2c2170b4
commit
d405392847
1 changed files with 0 additions and 8 deletions
|
@ -3491,14 +3491,6 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (context.current_class) {
|
|
||||||
if (context.type != GDScriptParser::COMPLETION_SUPER_METHOD) {
|
|
||||||
base.type = context.current_class->get_datatype();
|
|
||||||
} else {
|
|
||||||
base.type = context.current_class->base_type;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_lookup_symbol_from_base(base.type, p_symbol, is_function, r_result) == OK) {
|
if (_lookup_symbol_from_base(base.type, p_symbol, is_function, r_result) == OK) {
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue