On Wednesday, 7 December 2016 at 20:56:08 UTC, Stefan Koch wrote:
I did the change in continue and break handling.
Now ForStatements should be handled correctly for the most part.
I think there could still be a bug if you do labeled continue
on a for-statement.
I will do a change later that takes that into account as well.
Then we should be all set to implement call handling I believe.
Array-literals with ctfe-known Variables in them are now
supported;
uint[] fn(uint n)
{
return [n, n, n];
}
static assert(fn(3).length == 3);
static assert(fn(3)[0] == 3);
static assert(fn(3)[1] == 3);
static assert(fn(3)[2] == 3);