JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.

List of issuesList of issues

#987 assignment in for each lost
Author: user BeniBela
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

An aassignment to a map was lost in a for each: private function initBuildingArray(param1:ArrayCollection) : void { var _loc2_:BuildingInfo = null; _buildings = param1; _buildingMap = {}; for each(_buildingMap["id:" + _loc2_.buildingType] in param1) { switch(_loc2_.buildingType) { case BuildingsConfig.CONTROLCENTER_TYPE: CollectResMdt.CREDIT_DURING = _loc2_.collectDuring * 3600000; continue; case BuildingsConfig.QUARRIES_TYPE: CollectResMdt.ORE_DURING = _loc2_.collectDuring * 3600000; continue; case BuildingsConfig.POWERPLANT_TYPE: CollectResMdt.ENERGY_DURING = _loc2_.collectDuring * 3600000; continue; default: continue; } } ... } but it should have been private function initBuildingArray(param1:ArrayCollection) : void { var _loc2_:BuildingInfo = null; _buildings = param1; _buildingMap = {}; for each(_loc2_ in param1) { _buildingMap["id:" + _loc2_.buildingType] = _loc2_; switch(_loc2_.buildingType) { case BuildingsConfig.CONTROLCENTER_TYPE: CollectResMdt.CREDIT_DURING = _loc2_.collectDuring * 3600000; continue; case BuildingsConfig.QUARRIES_TYPE: CollectResMdt.ORE_DURING = _loc2_.collectDuring * 3600000; continue; case BuildingsConfig.POWERPLANT_TYPE: CollectResMdt.ENERGY_DURING = _loc2_.collectDuring * 3600000; continue; default: continue; } } ... }
user
Another, clearer example is in AssignShipToHeroUI doSkills