What's New in Haxe 3.2.1

by Skial Bainn published on

The Haxe Foundation officially released Haxe 3.2.1 on 13th October 2015. To read about all the fixes checkout the Haxe 3.2.1 release details.

Installer bugfixes

  • Fix installation issues on OS X 10.11 “El Capitan”.

JavaScript bugfixes

  • Avoid using eval or Function, instead use the new js.Lib.global variable to get the top-level defined type or variable, which does not break the Content Security Policy.

C# bugfixes

  • The C# target now generates the correct syntax for parameterized interfaces, classes, typedefs and enums.
  • Calling Type.createEnum with a null value no longer fails.

C++ bugfixes

  • The C++ target’s Reflect.setField now correctly works on classes with no member variables.
  • Using StringMap and DCE no longer removes an internal private variable, breaking C++ StringMap implementation.

Java bugfixes

  • The Java target will no longer generate empty classes by making sure all properties in java.lang.* stubs are correctly marked as @:extern.

C# and Java bugfixes

  • Both targets now correctly handle parameterized constant values, eg MyType<123>.