|
2025-02-24
| ||
| 21:38 | • Closed ticket [211ac77119]: return manual page has a no longer valid example... artifact: 497f1d4b4b user: jan.nijtmans | |
| 21:33 | Fix [211ac77119]: return manual page has a no longer valid example. avoid "can't read "::tcltestlib... check-in: 7ee3539247 user: jan.nijtmans tags: core-9-0-branch | |
| 21:30 | Fix [211ac77119]: return manual page has a no longer valid example. avoid "can't read "::tcltestlib... check-in: ce39d32efd user: jan.nijtmans tags: trunk, main | |
| 17:52 | Fix [211ac77119]: return manual page has a no longer valid example check-in: 7741caf246 user: jan.nijtmans tags: core-8-6-branch | |
|
2025-02-20
| ||
| 01:09 | • New ticket [211ac77119] return manual page has a no longer valid example. artifact: 02818e4711 user: emiliano | |
return manual page has a no longer valid example
Closed / Fixed211ac77119254ad2f9838a561b1f4b5070f5095fCreated 2 years agoUpdated 2 years ago
Descriptionplain2025-02-20 01:09:01
In return manual page example at
https://www.tcl-lang.org/man/tcl9.0/TclCmd/return.html#M19
there is this code snippet:
set product [expr {$n * $factor}]
if {$product < 0} {
return -code error \
"overflow computing factorial of $n"
}
but Tcl integers no longer overflows since Tcl 8.5 (TIP#237)
Referenced by3
7ee3539247Fix [211ac77119]: return manual page has a no longer valid example. avoid "can't read "::tcltestlib": no such variable" in tests *io-60.1 if load catches a fail for some reason check-in2025-02-24 21:33:10ce39d32efdFix [211ac77119]: return manual page has a no longer valid example. avoid "can't read "::tcltestlib": no such variable" in tests *io-60.1 if load catches a fail for some reason check-in2025-02-24 21:30:057741caf246Fix [211ac77119]: return manual page has a no longer valid example check-in2025-02-24 17:52:46
jan.nijtmanswiki2025-02-24 21:38:49
Fixed [here]
Thanks for the report!
Log in (anonymous is fine) to add a comment.