: 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

#197 Switch with no breaks
Author: user pepka
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3
State: closed Help

> What steps will reproduce the problem? Switch statment allows to miss breaks, but as I can see from examples it's not yet considered by decompiler and the result of decompilation could be inappropriate(see example 1) or completely broken(see example 2). > What version of the product are you using? On what operating system? 1.6.4u1
Downloadex1.swf (1 KiB)Downloadex1.as (434 B)Downloadex2.swf (1 KiB)Downloadex2.as (1 KiB)
admin
State: new→opened
admin
version 1.6.5 was released. This should be fixed, try it.
State: opened→upgraded
user
Much better, but still have a minor issue: for both examples the result of decompilation is missing variable initialization "var variable = 5;" which is later used in switch condition.
admin
State: upgraded→returned
admin
State: returned→opened
admin
version 1.6.5u1 was released it should be fixed now
State: opened→upgraded
user
Now it's ok. Thanks!
admin
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