JPEXS Free Flash Decompiler Issue Tracker

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

NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issuesList of issues

#2500 Comma operator not decompiled correctly
Author:
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

> What steps will reproduce the problem? Compile following AS3 code: ``` var a = {}; a.test((a = null, 5)); ``` > What is the expected output? What do you see instead? I am expecting the comma operator will be decompiled correctly or some similar §§push/§§pop structure. Instead I see: ``` var a:* = {}; a = null; //This line destroys a, so following call will fail a.test(5); ``` > What version of the product are you using? Is it "nightly build"? Which operating system do you have? 24.0.1 nightly 3270, Windows 11. > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
This is decompiled as: ``` var a:* = {}; var _temp_1:* = a; a = null; _temp_1.test(5); ``` in nightly 3305. So I guess it's correct - what I wanted.
State: new→upgraded
State: upgraded→closed