http://d.puremagic.com/issues/show_bug.cgi?id=6013

           Summary: private ignored for aliases
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: jmdavisp...@gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2011-05-15 18:20:05 
PDT ---
---------
module a;
import b;

void main()
{
    bar();
}
---------
module b;

void foo()
{
}

private alias foo bar;
---------

This code compiles just fine. It shouldn't. bar is a private alias.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to