www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3275] New: Private selective imports are visible in another module

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3275

           Summary: Private selective imports are visible in another
                    module
           Product: D
           Version: 2.031
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: 2korden gmail.com


(A duplicate, probably, but I couldn't find exact same issue)

Here is a test case:

module A;
import std.stdio : writeln;

module B;
import A;

void main()
{
    writeln("this line shouldn't compile");
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 31 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3275


Matti Niemenmaa <matti.niemenmaa+dbugzilla iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |matti.niemenmaa+dbugzilla i
                   |                            |ki.fi
         Resolution|                            |DUPLICATE




--- Comment #1 from Matti Niemenmaa <matti.niemenmaa+dbugzilla iki.fi> 
2009-08-31 11:56:41 PDT ---


*** This issue has been marked as a duplicate of issue 314 ***

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