Open-Turing-Project/OpenTuringCompiler — Issue #25: Use loop to initialize matrix.
Author: trishume
Created: 2012-02-23 22:04:03+00:00
State: open
Labels: Bug

compileInitializeComplex does not properly initialize the length part of the subarrays of multi-dimensional arrays.

Use a loop to initialize them all.

Hacky fix: make the loop at compile time and just generate code that initializes all the elements