Skip to content

Commit b410edf

Browse files
miharpclaude
andcommitted
Widen the automatic coercion heading to cover interpolation
The section documents both arithmetic coercion and string interpolation, but the heading named only arithmetic, so the pointer from the top of the page under-described where it led. Drop the qualifier and update the in-page link. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Michael Harp <mike@mikeharp.com>
1 parent 0706712 commit b410edf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/_openvox_8x/lang_typecasting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Converting never changes the original value. It produces a new value, leaving th
2525
alone.
2626

2727
Two things do convert without being asked: arithmetic on a string that looks like a number, and string
28-
interpolation. Both are covered in [automatic coercion](#automatic-coercion-in-arithmetic) below.
28+
interpolation. Both are covered in [automatic coercion](#automatic-coercion) below.
2929

3030
## Calling a data type as a constructor
3131

@@ -281,7 +281,7 @@ input that might not contain a number at all:
281281
notice(scanf('no digits', '%d')) # []
282282
```
283283

284-
## Automatic coercion in arithmetic
284+
## Automatic coercion
285285

286286
Arithmetic operators can coerce a string to a number, but by default OpenVox treats doing so as an error:
287287

0 commit comments

Comments
 (0)