JPEXS Free Flash Decompiler Issue Tracker

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

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#6 wrong code for uncertain function parameters
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

as source code fragment : public function test( ... rest ) : void { } compile to swf then decompile to as source public function test(, ... rest) : void { return; } something is wrong in methodinfo
user
i have found the bug exist in the following source code fragment in file .../asdec/abc/types/MethodInfo.java if(flagNeed_rest()) { // if paramStr == "" // there shoud not have a ',' paramStr+=", ... "; if(!localRegNames.isEmpty()) { paramStr+=localRegNames.get(param_types.length+1); }else{ paramStr+="rest"; } }
user
if(params.length == 0 ) paramStr += "..." ; else paramStr += ", ...";
admin
admin
This issue was closed by revision c764b1e4f9f5.
admin
Thank you very much for reporting. Problem fix is in the repository. You can try it yourself if you compile it.
user
State: →closed
Title: wrong code for uncertain function parameters→wrong code for uncertain function parameters
Type: →bug
Visibility: →Everybody