GNOME Bugzilla – Bug 662268
TCL classes appear in namespace section
Last modified: 2011-12-29 23:06:19 UTC
TCL classes should show up in the classes page only. Still the namespace page shows the class, clicking on it reveals an empty page. ## @author Jon Do, Od Noj # @copyright Siemens AG Oesterreich # @brief Something about the basic-test class # @bug bug1 hello1 # @todo do sowmthing new here 1 itcl::class basic-test { inherit parentclass1 parentclass2 constructor {} public method test1 {} ;#< brief description of method test1 public variable mybasicvar1 1 ;#< description of variable1 public variable mybasicvar2 2 ;#< description of variable2 #private variable myprivate 2 }
If you create a new class you also create a namespace with the same name. See the following session: % package req Itcl 3.4 % itcl::class a {} % proc x::y {} {puts 1} can't create procedure "x::y": unknown namespace % proc a::y {} {puts 1} % But I will try to ask Dimitri if there is a possibility to delete silently empty pages.
Fixed with new tclscanner.l file in attachment of bug 662190.
Patch is include in 1.7.6.1, so I'm closing this bug report.