• Re: doc bug on Tcl link command

    From Harald Oehlmann@21:1/5 to All on Sun Jun 29 22:06:05 2025
    Am 29.06.2025 um 19:14 schrieb Mark Summerfield:
    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.

    There's no link on the page to edit it or to report a bug
    in it so I thought I'd write here.

    THanks marc,
    the right way is to report bug on TCL fossil.
    Shall I do it for you?

    THGanks,
    Harald

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Harald Oehlmann@21:1/5 to All on Tue Jul 1 08:27:13 2025
    Am 30.06.2025 um 19:04 schrieb Mark Summerfield:
    On Sun, 29 Jun 2025 22:06:05 +0200, Harald Oehlmann wrote:

    Am 29.06.2025 um 19:14 schrieb Mark Summerfield:
    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.

    There's no link on the page to edit it or to report a bug
    in it so I thought I'd write here.

    THanks marc,
    the right way is to report bug on TCL fossil.
    Shall I do it for you?

    THGanks,
    Harald

    I'd be happy to report it but there is no link on the doc pages and
    no link to bug reporting that I can see on the main
    https://www.tcl-lang.org/ page however I finally found https://core.tcl-lang.org/tcl/reportlist and now I've reported it: https://core.tcl-lang.org/tcl/tktview/0cb3d93aae5ab9201509e904f40bccdf8bceb8ab

    Incidentally I didn't see a 'doc' category so used 'other'


    Well done, thank you. It is exactly at the right place.

    Take care,
    Harald

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)