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 267382

Summary: Out of class function definition is not recognized under certain conditions
Product: cnd Reporter: petrk
Component: Code ModelAssignee: petrk
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: complete patch

Description petrk 2016-08-01 17:14:25 UTC
// Case without visibility involved:

struct Base {
    class Inner {
    public:
        virtual void foo(); // click on foo doesn't lead to definition
    };
};

struct Derived : public Base {};
 
void Derived::Inner::foo() { 
    return;
}  


// Case with visibility:

class Base {
protected:
    class Inner {
    public:
        virtual void foo();
    };
};

class Derived : public Base {};
 
void Derived::Inner::foo() { 
    return;
}
Comment 1 petrk 2016-08-02 15:00:55 UTC
Created attachment 161541 [details]
complete patch
Comment 3 Quality Engineering 2016-08-12 02:49:46 UTC
Integrated into 'main-silver', will be available in build *201608120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1a38cd101ac6
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #267382 - Out of class function definition is not recognized under certain conditions
Comment 4 Quality Engineering 2016-08-23 01:55:22 UTC
Integrated into 'main-silver', will be available in build *201608230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6ce4074faba4
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Additional fix for #267382 - Out of class function definition is not recognized under certain conditions
-- fixed IllegalArgumentException that could raise because of absence of language during fixing fake registration