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 242781

Summary: Completion suggest to add 3 destructors.
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code CompletionAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2014-03-11 09:29:38 UTC
Example:
struct BaseRomb {
    virtual ~BaseRomb();
    virtual int foo(int) = 0;
    int boo(int);
};
struct CatRomb : public BaseRomb {
    virtual ~CatRomb();
    int foo(int);
    int boo(int);
};
struct DogRomb : public BaseRomb {
    virtual ~DogRomb();
    int foo(int);
    virtual int boo(int);
};
struct CatDogRomb : public CatRomb, DogRomb {
    // Completion here suggest to add 3 destructors
    int foo(int);
    int boo(int);
};
Comment 1 Alexander Simon 2014-03-11 09:32:06 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/423c3b5a515d
Comment 2 Quality Engineering 2014-03-12 02:47:54 UTC
Integrated into 'main-silver', will be available in build *201403120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/423c3b5a515d
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #242781 Completion suggest to add 3 destructors.
Comment 3 Quality Engineering 2014-04-24 02:08:13 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/29b3a5fb15ac
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #242781 Completion suggest to add 3 destructors.
(transplanted from 423c3b5a515d8dcc5c2fb8814fe537e22aa337ae)