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 245801

Summary: Cannot access to a member of namespace via namespace alias
Product: cnd Reporter: petrk
Component: Code ModelAssignee: petrk
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description petrk 2014-07-18 13:09:00 UTC
namespace aaa {
    namespace bbb {
        int foo() {
            return 0;
        }
    }
}

namespace ddd {
    namespace xxx = aaa::bbb;
    
    int boo() {
        return xxx::foo(); // this foo is resolved
    }
}

int roo() {
    return ddd::xxx::foo(); // this foo is unresolved
}