Tcl Source Code

View Ticket
Login
Ticket UUID: 0cb3d93aae5ab9201509e904f40bccdf8bceb8ab
Title: doc bug on Tcl link command
Type: Bug Created on: 2025-06-30 17:04:26
Submitter: mnsummerfield Assigned to: nobody
Subsystem: 69. Other Severity: Minor
Priority: 5 Medium Last modified: 2025-07-01 07:57:56
Status: Closed Closed by: oehhar
Resolution: Fixed Closed on: 2025-07-01 07:57:56
Version: 9.0.1
Description:
On page https://www.tcl-lang.org/man/tcl9.0/TclCmd/link.html
There is an example class Ex that ends with these lines:

set o [Ex new]
$o 3 5 7
        → This is a
        → This is b(3)
        → This is c(5,7)

but when I tried the example I got:

unknown method "3": must be a, b, c, call or destroy
    while executing
"$o 3 5 7"

When I did `$o call 3 5 7` it worked as expected.
User Comments:
oehhar added on 2025-07-01 07:57:56:

Dear Mark,

thank you for caring about the docs quality. This is highly appreciated.

Fixed by commit [606ba9c942] in main and core-9-0-branch.

Thanks for all, Harald