the condition of for loop

for the script:

:for i from=0 to=-1 step=1 do={
:log info $i
}

it will output
-1
0

But the expect result is output nothing.

Is it a bug or normal result?