Fixed: #1569 AS3 direct editation - incorrect slot names handling (IndexOutOfBounds)

This commit is contained in:
Jindra Petřík
2021-02-24 08:34:17 +01:00
parent 3c940d1b91
commit e9cd0e6ad0
2 changed files with 3 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ All notable changes to this project will be documented in this file.
- AS3 decompilation: increment/decrement on properties
- AS1/2 Goto search result not properly selecting line (delay)
- ActiveX exceptions when FlashPlayer disabled in classic GUI
- #1569 AS3 direct editation - incorrect slot names handling (IndexOutOfBounds)
### Changed
- #1565, #1407, #1350 On BinaryData SWF save, parent SWF is saved

View File

@@ -1730,6 +1730,8 @@ public class AVM2SourceGenerator implements SourceGenerator {
registerNames.add(UNUSED);
registerTypes.add("*");
registerLines.add(paramLine);
slotNames.add(UNUSED);
slotTypes.add("*");
}
registerNames.set(regIndex, varName);
registerTypes.set(regIndex, varName);