class Bug1 {
public function bug() : Void {
// Arrays of mixed types are only allowed if the type is forced to Array<Dynamic>
// Bug in "safeArray"
["A", 1];
}
}
See https://github.com/restorer/haxe-safety-bugs/blob/master/safetybugs/Main.hx#L43 for working example.