Assignment to Array.length works now :)
the following code :

uint[] makeArr()
{
    uint[] arr;
    arr.length = 5;
    return arr;
}


pragma(msg, makeArr());

results in :

CTFE_DEBUG_MESSAGE : building Array of Length 5
[0u, 0u, 0u, 0u, 0u]



Reply via email to