It is implemented in the runtime so why doesn't it work?


/***********************
 * Computes:
 *      a[] = b[] + c[]
 */

T[] _arraySliceSliceAddSliceAssign_f(T[] a, T[] c, T[] b)
...
...



void main()
{
        float[] a = [0.f, 0.5f, 1.0f, 1.5f, 2.0f, 2.5f];
        float[] b = [0.f, 0.5f, 1.0f, 1.5f, 2.0f, 2.5f];

//      float[] c = a[] + b[]; // <-- Array operation a[] + b[] not implemented
        float[] d = a[] * 4.f + 1.f;
        writeln(d); // <-- access violation when program is run
}

Reply via email to