I am getting a LOOP?!?!

Hi,
I know that I’m not the best programmer around but can anyone explain me why am I getting a loop from this code:

var r:uint = 1<<1;
var i:int;
trace(i++);