List of issuesList of issues

#585 Missed decompiled source when using expression: a && b();
Author: user Alexander
Date created:
Type: bug
Visibility: Everybody
Assigned to: admin JPEXS
Labels: AS3
State: closed Help

> 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
admin
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:admin JPEXS
admin
I think it should work in latest nightly build. Try it.
State: new→upgraded
developer
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
 
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic