Skip to content

Commit

Permalink
Fixed: #2338 AS2 class detection in some minor cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jindrapetrik committed Oct 4, 2024
1 parent 9b6745e commit 7ff9eb2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ private boolean checkClassContent(Map<String, Map<String, Trait>> uninitializedC
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) {
Expand Down

0 comments on commit 7ff9eb2

Please sign in to comment.