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 - Cannot access to a member of namespace via namespace alias
Summary: Cannot access to a member of namespace via namespace alias
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-18 13:09 UTC by petrk
Modified: 2014-11-20 12:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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