GP-4761 fixing bug in goto processing to handle multiple level

namespaces
This commit is contained in:
ghidragon 2024-09-13 16:31:30 +00:00
parent fb6445277a
commit 05258287b4

View File

@ -510,7 +510,7 @@ public class GoToQuery {
int colonIndex = scopeName.lastIndexOf("::");
if (colonIndex >= 0) {
String parentScopeName = scopeName.substring(0, colonIndex);
scopeName = scopeName.substring(colonIndex + 1);
scopeName = scopeName.substring(colonIndex + 2);
parent = getScope(program, parent, parentScopeName);
if (parent == null) {
return null;