https://github.com/deltaluca/haxe/commit/b3edafa2ede12318b4c7ebb73d7c02a6eca9c119