Overview
| Artifact ID: | 72027599e2de55609274e651f46e44addadbad8490c013bfeefeffce7fb99545 |
|---|---|
| Ticket: | 68050339b564d3c155cb9d9b324262ed7b3b65f3
classmethod fails if no argument supplied to class create |
| User & Date: | apnadkarni on 2024-08-26 12:07:16 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
``` % oo::class create C ::C % oo::define C {method m {} {}} % oo::define C {classmethod cm {} {}} ::oo::Obj23:: oo ::delegate does not refer to an object ``` Note `method` works, but not `classmethod`. On the other hand, if the `create` is passed a body (even empty), it all works. ``` % oo::class create D {} ::D % oo::define D {method m {} {}} % oo::define D {classmethod cm {} {}} ``` Very minor but spent a half hour not understanding why my code was suddenly failing after adding a classmethod :-) - foundin changed to: "9.0b3"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "35. TclOO Package"
- title changed to:
classmethod fails if no argument supplied to class create
- type changed to: "Bug"