March 11, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7683

           Summary: the attribute has not been correctly inferred in
                    either the constructor or nested function.
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: Koichi.Takio@gmail.com


--- Comment #0 from Koichi <Koichi.Takio@gmail.com> 2012-03-11 05:15:36 PDT ---
this code doesn't work!

----------
void main()
{
    foo(0).bar(0);
}

auto foo(T)(T n)
{
    struct FooInner
    {
    public:
        Bar bar(U)(U m)
        {
            return Bar(0);
        }
    }

    return FooInner();
}

struct Bar
{
    this(int n)
    {
    }
}
----------

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