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


Kenji Hara <k.hara...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k.hara...@gmail.com


--- Comment #2 from Kenji Hara <k.hara...@gmail.com> 2011-08-14 16:12:32 PDT ---
Mutually recursion version.

struct A
{
    static B b;
    alias b this;
}

struct B
{
    static A a;
    alias a this;
}

struct C
{
    int opSlice(size_t, size_t){ return 0; }
    int opSlice(size_t, A){ return 0; }
}

void main()
{
    C c;
    c[0..A];
}

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

Reply via email to