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

           Summary: Regression(2.058 beta): Template member erroneously
                    inaccessible
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: cbkbbej...@mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbej...@mailinator.com> 2012-02-09 
12:00:45 PST ---
a.d:
=====================
import b;

void main()
{
    int x;
    foo!(x);
}
=====================

b.d:
=====================
private template templ(alias al)
{
    enum result = "";
}

void foo(alias al)()
{
    auto x = templ!(al).result;
}
=====================

>dmd a.d b.d
b.d(8): Error: variable a.result is not accessible from b

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

Reply via email to