Downloading Haxe 4.1.3

If your download does not begin automatically please click here.

Support the Haxe Foundation

Thank you for downloading Haxe. If you'd like to support the Haxe Foundation please consider donating to keep our open source efforts thriving.

Monthly Donation Amount

Get Technical Help

Get support directly from the Haxe team. The Haxe Foundation offers several support tiers to help with your organization's technical challenges.

Explore our support plans

What next?

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)

Getting Started With Haxe

Now that you've downloaded Haxe, you can get started with a specific platform. Click on a logo to learn how to set up the development environment and how to proceed from there:

For getting started with Haxe, take a look at our introduction, read through the Haxe Manual or look at these use cases for Haxe, including tutorials and popular libraries: