https://issues.dlang.org/show_bug.cgi?id=15578
Issue ID: 15578
Summary: Should have access to namespace private symbols from
same module
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
private:
int j;
extern(C++, ns) int k;
void f()
{
j = 0; // works as expected
k = 0; // Error: variable foo.ns.k is private
}
--
