https://issues.dlang.org/show_bug.cgi?id=12751

--- Comment #1 from bearophile_h...@eml.cc ---
Other basic cases that can be supported:

void main() @nogc {
    int[2] a = [10, 20];
    int[3] b = [40, 50, 60];
    int[6] c = a ~ 30 ~ b;
}


Currently DMD 2.066alpha gives:

test.d(4,16): Error: cannot use operator ~ in @nogc function main
test.d(4,16): Error: cannot use operator ~ in @nogc function main

--

Reply via email to