mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-17 16:11:54 +00:00
Fixed: #1450 AS3 direct editation - handling types from same package
Fixed: AS3 goto definition for types in another ABC tag
This commit is contained in:
@@ -1139,8 +1139,8 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
|
||||
continue;
|
||||
}
|
||||
|
||||
int mid = a.constants.getMultinameId(m, abc.constants);
|
||||
if (mid > 0) {
|
||||
List<Integer> mids = a.constants.getMultinameIds(m, abc.constants);
|
||||
for (int mid : mids) {
|
||||
usages.addAll(a.findMultinameDefinition(mid));
|
||||
}
|
||||
}
|
||||
@@ -1181,8 +1181,8 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
|
||||
if (a == abc) {
|
||||
continue;
|
||||
}
|
||||
int mid = a.constants.getMultinameId(m, abc.constants);
|
||||
if (mid > 0) {
|
||||
List<Integer> mids = a.constants.getMultinameIds(m, abc.constants);
|
||||
for (int mid : mids) {
|
||||
usages.addAll(a.findMultinameDefinition(mid));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user