We've found a bug for you! /.../fixtures/for_loop_condition.res:1:15-18 1 │ for x in 0 to "10" { 2 │ Console.log(x) 3 │ } This has type: string But a for loop bounds must always be of type: int You can convert string to int with Int.fromString.