March 23, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5770

           Summary: Template constructor bypass access check
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2011-03-23 06:46:34 PDT ---
Test code:
----
module a
struct S
{
private:
    this(int n){}
}

struct T
{
private:
    this(A...)(A args){}
}
----
module b;
import a;

void main()
{
//  auto s = S(10);     // is not accessible
    auto t = T(20);     // compile succeeded, NG
}

----

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


SomeDude <lovelydear@mailmetrash.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovelydear@mailmetrash.com


--- Comment #1 from SomeDude <lovelydear@mailmetrash.com> 2012-04-23 02:21:55 PDT ---
In the same vein, see also issue 7236

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