Main.hx:6: characters 5-27 : Field f has different type than in I Main.hx:2: characters 5-28 : Interface field is defined here Main.hx:6: characters 5-27 : Different number of function arguments