dart backend: fixed `range(x,y)`