caf17e16fc
Token(75): +TOK_STEP, desugar_for 增加 step_expr 参数, 默认 step=1 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
7 lines
93 B
Plaintext
7 lines
93 B
Plaintext
fn main() -> i64 {
|
|
for i in 0 to 10 step 2 {
|
|
print_i64(i);
|
|
}
|
|
return 0;
|
|
}
|