JPEXS Free Flash Decompiler Issue Tracker

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

+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.

List of issuesList of issues

#33 calling constructor in static const initializer
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DecompilationGoogle Code
State: closed Help

example package { import flash.display.MovieClip; public class Main extends MovieClip { public static const instance:Main=new Main(); public function Main() { } } } turns into package { import flash.display.MovieClip; public class Main extends MovieClip { public function Main() { super(); return; } public static const instance:Main = new this(); } } - new this(); leads to error in flash builder -1042: The this keyword can not be used in static methods. It can only be used in instance methods, function closures, and global code.
admin
Hi, this bug was already fixed in version 1.4.0
user
State: →closed
Title: calling constructor in static const initializer→calling constructor in static const initializer
Type: →bug
Visibility: →Everybody