https://d.puremagic.com/issues/show_bug.cgi?id=12208

           Summary: Recognize identical scope of nested structs
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: thecybersha...@gmail.com


--- Comment #0 from Vladimir Panteleev <thecybersha...@gmail.com> 2014-02-20 
05:58:17 EET ---
Currently, this code doesn't compile, although I think it should:

//////////////////////////////
struct S1(alias a)
{
    struct S2(alias b)
    {
        void foo()
        {
            a = b;
        }
    }
}

struct Test
{
    int i, j;
    S1!i.S2!j s;
}
//////////////////////////////

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

Reply via email to