Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e239ea5dc44ff15ae99734d55629b60e3966d9158c500dd47250540386bd3acb
Ticket: 1865198fffffffffffffffffffffffffffffffff
Support class methods
User & Date: dkf on 2024-05-23 14:23:01
Changes

  1. closedate changed to: "2460454.09932471"
  2. closer changed to: "dkf"
  3. comment changed to:
    There is one function, which is needed in itcl-ng but I think it should be in the TclOO Source code: calling a class method without an object context. This is mostly used for the equivalent of the C++ static class method invocation, which in itcl is called a "class proc".
    
    As it mostly does the same as TclOO's InvokeProcedure method and it uses TclOO internal stuff, I think it should be added to TclOO source code.
    
    A prototype implementation, which is used at the moment in itcl-ng is in the attachment.
    
  4. icomment:
    Tcl 8.7/9.0 have the solution to this: the `classmethod` definition command in [TIP #478](https://core.tcl-lang.org/tips/doc/trunk/tip/478.md).
    
  5. login: "dkf"
  6. mimetype: "text/x-markdown"
  7. resolution changed to: "Out of Date"
  8. severity changed to: "Minor"
  9. status changed to: "Closed"