Skip to content

Commit

Permalink
Revert "Fixed the jumping to function definition using 'Ctrl+LMB'."
Browse files Browse the repository at this point in the history
This reverts commit 7eb6367.

Fixes godotengine#73058.
Fixes godotengine#73167.

This caused regressions, we'll retry with fixes for 4.1.
  • Loading branch information
akien-mga authored and JeffVenancius committed Feb 13, 2023
1 parent eeed791 commit 617d077
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions modules/gdscript/gdscript_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3491,14 +3491,6 @@ ::Error GDScriptLanguage::lookup_code(const String &p_code, const String &p_symb
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) {
return OK;
}
Expand Down

0 comments on commit 617d077

Please sign in to comment.