class Test {
static var a(default, set):Int = 0;
static function main() {
a--;
}
static function set_a(value:Int):Int {
return a = value;
}
}
(function (console) { "use strict";
var Test = function() { };
Test.main = function() {
var _g = Test;
var _g1 = _g.a;
_g.set_a(_g1 - 1);
_g1;
};
Test.set_a = function(value) {
return Test.a = value;
};
Test.a = 0;
Test.main();
})(typeof console != "undefined" ? console : {log:function(){}});
JSC_USELESS_CODE: Suspicious code. This code lacks side-effects. Is there a bug? at line 7 character 1
_g1;
^