mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-14 17:41:53 +00:00
Fixed #1692 Resolving use namespace
This commit is contained in:
@@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.
|
||||
- AS3 Direct editation - Using "/" separator for method names
|
||||
- Folder preview resizing (scrollbar too long)
|
||||
- [#1872] Removing PlaceObject/RemoveObject with no characterid with Remove character action
|
||||
- [#1692] Resolving use namespace
|
||||
|
||||
## [16.3.1] - 2022-11-14
|
||||
### Fixed
|
||||
@@ -2592,6 +2593,7 @@ All notable changes to this project will be documented in this file.
|
||||
[#1875]: https://www.free-decompiler.com/flash/issues/1875
|
||||
[#1869]: https://www.free-decompiler.com/flash/issues/1869
|
||||
[#1872]: https://www.free-decompiler.com/flash/issues/1872
|
||||
[#1692]: https://www.free-decompiler.com/flash/issues/1692
|
||||
[#1867]: https://www.free-decompiler.com/flash/issues/1867
|
||||
[#1868]: https://www.free-decompiler.com/flash/issues/1868
|
||||
[#1649]: https://www.free-decompiler.com/flash/issues/1649
|
||||
|
||||
@@ -433,8 +433,12 @@ public class UnresolvedAVM2Item extends AssignableAVM2Item {
|
||||
}
|
||||
}
|
||||
|
||||
DottedChain classChain = DottedChain.parseWithSuffix(currentClass);
|
||||
DottedChain pkg = classChain.getWithoutLast();
|
||||
|
||||
//Search for types in opened namespaces
|
||||
for (NamespaceItem n : openedNamespaces) {
|
||||
n.resolveCustomNs(abcIndex, importedClasses, pkg, openedNamespaces, localData);
|
||||
Namespace ons = abc.getSelectedAbc().constants.getNamespace(n.getCpoolIndex(abc));
|
||||
TypeItem ti = new TypeItem(ons.getName(abc.getSelectedAbc().constants).addWithSuffix(name.get(0)));
|
||||
AbcIndexing.ClassIndex ci = abc.findClass(ti);
|
||||
|
||||
Reference in New Issue
Block a user