Release Notes

Dear Community,

On behalf of the Haxe Foundation, we are proud to announce the official release of Haxe 4.1.3!

This is a bugfix release. Check out the changelog below for more information.

If you have any suggestions or run into any problems, feel free to open an issue on GitHub.

Thanks to everyone involved!

Change Log

2020-07-22 4.1.3

General improvements:

  • all : added an error on return outside of a function (#9659)
  • php : support @:native("") for extern classes (#6448)
  • python : support @:native("") for extern classes (#6448)


  • all : fixed compilation server bug caused by removing inline from a method (#9690)
  • macro : fixed compiler crash if @:genericBuild meta is removed by a macro during building (#9391)
  • jvm : fixed "--java-lib-extern" (#9515)
  • flash : fixed var shadowing issue for variables captured in a closure inside of a loop (#9624)
  • flash : fixed VerifyError exception when Void end up as an argument type after inlining (#9678)
  • php : fixed runtime error "cannot use temporary expression in write context" for call arguments passed by reference
  • cs : fixed cs.Lib.rethrow (#9738)
  • nullsafety : fixed @:nullSafety(Off) in closures inside of constructors (#9643)
  • nullsafety : fixed "Type not found NullSafetyModeImpl" (#9483)