[Issue 1253] DMD 0.175 introduced bug: array initializers as expressions are not allowed?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 11 08:51:31 PDT 2008


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





------- Comment #3 from terranium at yandex.ru  2008-05-11 10:51 -------
workaround :-/

struct A
{
        int a,b;
}

void f()
{
        A[2] rg=[A(1,2),A(3,4)];
}


-- 



More information about the Digitalmars-d-bugs mailing list