Itcl - the [incr Tcl] extension

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Ticket Hash: 36577626c340ad59615f0a0238d67872c009a8c9
Title: can not create objects inside class namespace
Status: Closed Type: Code_Defect
Severity: Critical Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2013-11-09 15:25:00
Version Found In: 4.0b7
Description:
Using version 4.0b7 and the following code snippet:

package req Itcl
::itcl::class ::a {
  constructor args {puts $args}
  destructor {}
}
::a ::a::b

I got the error message:

  no valid method implementation

The code was working in itcl 3.4.

<hr /><i>wiede added on 2012-02-25 16:00:01 UTC:</i><br />
was a special case when having the object in a child namespace of the class.
User Comments:
wiede added on 2013-11-09 15:25:00: (text/x-fossil-plain)
closed