Thread overview
[Issue 6013] New: private ignored for aliases
May 16, 2011
Jonathan M Davis
Jan 23, 2012
Walter Bright
May 16, 2011
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: nobody@puremagic.com
        ReportedBy: jmdavisProg@gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisProg@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: -------
January 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6013



--- Comment #1 from github-bugzilla@puremagic.com 2012-01-23 02:15:15 PST ---
Commit pushed to https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/ac75ddc83d5cffd913fbfd6f2bbb9cbe91364479 Merge pull request #636 from dawgfoto/fix6013

Issue 6013 - private ignored for aliases

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6013



--- Comment #2 from github-bugzilla@puremagic.com 2012-01-23 10:05:54 PST ---
Commit pushed to https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d4392ab38c33d17566a18de0c8416aa7c72b3a10 fix issue 6013 for D1

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6013


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


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