This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 86683

Summary: Parser incorrect build CSM_QUALIFIED_ID branch for destructors
Product: cnd Reporter: alms <alms>
Component: Code ModelAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description alms 2006-10-06 15:27:05 UTC
Parser incorrect build CSM_QUALIFIED_ID branch for destructors.

namespace test {

class Pure 
{

}

}

                                                                               
  test::Pure::~Pure()
Comment 1 alms 2006-10-06 16:02:17 UTC
Example:
--

namespace test {

class Pure 
{
    ~Pure(); 
};

}

test::Pure::~Pure() { }
                                                                               
   -----

In this example CSM_QUALIFIED_ID contains only 'test' and 'Pure', but '~Pure'
stand as "brother" of CSM_QUALIFIED_ID.
Comment 2 alms 2006-10-18 16:30:07 UTC
It is fixed and commented in grammar ("cppparser.g", revision 1.2.2.20). Further
should be corrected 'AstRenderer'
Comment 3 Alexander Simon 2008-11-17 19:54:58 UTC
It seems internal design issue.