MainFail.hx:3: lines 3-5 : Another overloaded field of similar signature was already declared : perform MainFail.hx:3: lines 3-5 : ... The signatures are different in Haxe, but not in the target language MainFail.hx:7: lines 7-9 : ... The second field is declared here