feat: for..in 范围语法 .. 改为 to 关键字

This commit is contained in:
2026-06-05 19:44:26 +08:00
parent 9a256d9be1
commit a28d33854c
8 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ graph TB
- `if` / `else` / `else if`
- `while` 循环
- `for i in 0..10` (去糖为 while)
- `for i in 0 to 10` (去糖为 while)
- `match expr { pat => { ... } _ => { ... } }` (去糖为 if-else)
- `return`