Artifacts Associated With Ticket 7a0f53f43c39a69d
Ticket change [506c5fda8b] (rid 223173) by AlanGrunwald on 2024-03-14 10:33:15:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
Consider: % info patchlevel 8.6.13 % oo::class create foo {constructor {} {}} ::foo % set f [foo new a b c] ::oo::Obj12 It seems that if the constructor has **any** definition, then the arguments are checked properly % oo::class create foo {constructor {} { }} ::foo % set f [foo new a b c] wrong # args: should be "foo new" - foundin initialized to: "8.6.13"
- is_private initialized to: "0"
- login: "AlanGrunwald"
- priority initialized to: "5 Medium"
- private_contact initialized to: "66fa165f4d6461fc4cd65db7288486f7bd6fbf83"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "AlanGrunwald"
- subsystem initialized to: "35. TclOO Package"
- title initialized to:
Arguments of empty constructor not checked properly
- type initialized to: "Bug"
Ticket change [465b9f3256] (rid 226203) by dkf on 2024-05-20 12:53:41:
- assignee changed to: "dkf"
- icomment:
Confirmed, in 8.6 and (just off) the `main` branch tip.
- login: "dkf"
- mimetype: "text/x-markdown"
- severity changed to: "Important"
Ticket change [ab34d103fc] (rid 226204) by dkf on 2024-05-20 12:59:26:
- closedate changed to: "2460451.04127583"
- closer changed to: "dkf"
- icomment:
Ah, no! It's [documented](https://www.tcl-lang.org/man/tcl8.6/TclCmd/define.htm#M6) as something that is that way by design. > If _bodyScript_ is the empty string, the constructor will be deleted. Destructors behave the same way.
- login: "dkf"
- mimetype: "text/x-markdown"
- resolution changed to: "Invalid"
- status changed to: "Closed"