After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 662268 - TCL classes appear in namespace section
TCL classes appear in namespace section
Product: doxygen
Classification: Other
Component: general
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Reported: 2011-10-20 06:37 UTC by tombert
Modified: 2011-12-29 23:06 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description tombert 2011-10-20 06:37:37 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
Comment 1 r.zaumseil 2011-10-21 19:19:40 UTC
If you create a new class you also create a namespace with the same name.
See the following session:
% package req Itcl
% 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.
Comment 2 r.zaumseil 2011-11-04 21:16:22 UTC
Fixed with new tclscanner.l file in attachment of bug 662190.
Comment 3 Dimitri van Heesch 2011-12-29 23:06:19 UTC
Patch is include in, so I'm closing this bug report.