On Wednesday, 12 March 2014 at 06:53:19 UTC, monarch_dodra wrote:
I *believe* it's really just that you are allowed to *initialize* a static array (of any depth) from a dynamic array.

However, for assignment, it doesn't work that way:

    int[] a = [0, 1, 2, 3];
    int[2][1][2][1] b = a; //OK!
    b = a; //ERROR

Is this intentional, or is it a bug?

Reply via email to