Tcl Source Code

View Ticket
Login
Ticket UUID: 0cb3d93aae5ab9201509e904f40bccdf8bceb8ab
Title: doc bug on Tcl link command
Type: Bug Version: 9.0.1
Submitter: mnsummerfield Created on: 2025-06-30 17:04:26
Subsystem: 69. Other Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2025-07-01 07:57:56
Resolution: Fixed Closed By: oehhar
    Closed on: 2025-07-01 07:57:56
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