Here's some Haxe, written as part of a game in HaxeFlixel.
var fx:Float = 236/43; //Some float
var ix:Int = cast(fx); //Cast to an int
someArray[v]; //Access an array
The array access causes a violation.
I can't think of a reason why this would happen, or even how it might. Is there anything I might not be thinking of?