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.

#585 Missed decompiled source when using expression: a && b();
Author:
Alexander

Date created:
Type: bug
Visibility: Everybody
Assigned to:
JPEXS

Labels: AS3
State: closed 

> What steps will reproduce the problem?
Build swf with code:
protected function test():void {
stage && init();
}
> What is the expected output? What do you see instead?
Expected:
protected function test() : void {
stage && init(); // or if (stage) init()
}
Decompiled:
protected function test() : void {
}
But FFD trait output shows:
code
getlocal_0
pushscope
getlex Qname(PackageNamespace(""),"stage")
dup
iffalse ofs0010
pop
findpropstrict Qname(ProtectedNamespace("TestApp"),"init")
callproperty Qname(ProtectedNamespace("TestApp"),"init") 0
coerce_a
ofs0010:returnvoid
> What version of the product are you using? On what operating system?
Win7 x64, FFD 2.1.0u2
Hi,
this will take a time because other decompilation methods depend on this. For example
try..catch clause. I already tried to fix it but it lead to many problems instead. So
please be patient...
Assigned: →
JPEXS

I think it should work in latest nightly build.
Try it.
State: new→upgraded
I'm going to close this issue due to inactivity. Feel free to create new issue if you find
any new problem.
State: upgraded→closed