Releases: HaxeFoundation/as3hx
Releases · HaxeFoundation/as3hx
1.0.4
- Fixed conversion of unary operator after declaration of block
- Fixed convesion
of if(number)
- Fixed conversion of
array.join("\n")
- Fixed conversion of
var cls : Class = Object(this).constructor as Class
- Fixed conversion of
var some : Some = new someType() as Class
- Fixed parsing when semicolumn is missing
- Fixed conversion of
some || = new Some()
- Fixed crash when using setting -dictionary2hash
- Fixed conversion of constructor which was written in one line
- Fixed
@:allow
position in the order of access modifiers - Fixed int() and Number() casts when applied to Numbers.
- Only first character of package will be transformed to lower case
- Loops will be converted to
while
instead offor
for proper iteration variable modification - Inline alert message in generated code when trying to
delete
Dictionary keys - Call
Reflect.deleteField(dynamic, fieldName)
instead ofdelete object[fieldname]
- Call
as3hx.Compat.Regex::exec
instead ofRegExp::exec
- Call
as3hx.Compat.FLOAT_MAX
instead ofNumber.MAX_VALUE
- Call
as3hx.Compat.FLOAT_MIN
instead ofNumber.MIN_VALUE
- Call
as3hx.Compat.INT_MAX
instead ofint.MAX_VALUE
- Call
as3hx.Compat.INT_MIN
instead ofint.MIN_VALUE
- Call
as3hx.Compat.parseFloat
insteadparseFloat
- Call
as3hx.Compat.parseInt
insteadparseInt
- Call
as3hx.Compat.arraySplice(array, position, length, args)
instead ofarray.splice(position, length, args)
- Call
Reflect.callMethod(null, function, args)
instead offunction.apply(null, args)
- Call
Reflect.callMethod(null, function, [arg0, arg1])
instead offunction.call(null, arg0, args1)