Skip to content

Commit

Permalink
Update operator-overloading.md
Browse files Browse the repository at this point in the history
Add `rangeUntil` added in 1.9
  • Loading branch information
elricbk authored and sarahhaggarty committed Jul 24, 2023
1 parent fba5104 commit 0729aca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/topics/operator-overloading.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ For the *prefix* forms `++a` and `--a` resolution works the same way, and the ef
| `a / b` | `a.div(b)` |
| `a % b` | `a.rem(b)` |
| `a..b ` | `a.rangeTo(b)` |
| `a..<b ` | `a.rangeUntil(b)` |

For the operations in this table, the compiler just resolves the expression in the *Translated to* column.

Expand Down

0 comments on commit 0729aca

Please sign in to comment.