: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#1103 wrong code in AS3
Author: user refgd
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

attached the example SWF file. original code below: public static function array2Map(_arg1:Object, _arg2:String, _arg3:Class):Object { var _local5:Object; var _local4:Object = new _arg3(); for each (_local5 in _arg1) { _local4[_local5[_arg2]] = _local5; } return _local4; } after decompiler, the code become: public static function array2Map(_arg1:Object, _arg2:String, _arg3:Class) : Object { var _local5:Object = null; var _local4:Object = new _arg3(); for each(_local4[_local5[_arg2]] in _arg1) { } return _local4; }
admin
it should be fixed in nightly 1209
State: new→upgraded
developer
I close this issue due to inactivity. Please create new issue if problem still exists.
State: upgraded→closed