mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 12:55:34 +00:00
Fixed: #2338 AS2 class detection in some minor cases
This commit is contained in:
@@ -31,6 +31,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#2335] AS3 direct editation - Type coercion of `&&` and `||` operators
|
||||
- [#2334] AS1/2 P-code export - Do not export on(xxx) header
|
||||
- [#2338] AS decompiling threads got stuck after cancelling / timeout
|
||||
- [#2338] AS2 class detection in some minor cases
|
||||
|
||||
## [21.1.0] - 2024-09-23
|
||||
### Added
|
||||
|
||||
@@ -360,6 +360,13 @@ public class ActionScript2ClassDetector {
|
||||
if (parts.size() > partsPos) {
|
||||
item = parts.get(partsPos);
|
||||
|
||||
if (item instanceof TemporaryRegisterMark) {
|
||||
if (partsPos + 1 < parts.size()) {
|
||||
partsPos++;
|
||||
item = parts.get(partsPos);
|
||||
}
|
||||
}
|
||||
|
||||
if (item instanceof SetMemberActionItem) {
|
||||
List<String> memPath = getSetMembersPath((SetMemberActionItem) item);
|
||||
if (memPath != null) {
|
||||
|
||||
Reference in New Issue
Block a user