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 - Out of class function definition is not recognized under certain conditions
Summary: Out of class function definition is not recognized under certain conditions
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-01 17:14 UTC by petrk
Modified: 2016-08-23 01:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
complete patch (12.66 KB, patch)
2016-08-02 15:00 UTC, petrk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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