Skip to content
Tcl Source Code View Ticket
Login

View Ticket

doc bug on Tcl link command

Closed / Fixed0cb3d93aae5ab9201509e904f40bccdf8bceb8abCreated 1 year agoUpdated 1 year ago
Descriptionplain2025-06-30 17:04:26
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.
oehharwiki2025-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

Log in (anonymous is fine) to add a comment.