Use Lambda.indexOf() instead of Array.indexOf() to work with haxe 3.0.1