I thought it was possible to build an array at comptime using array concatenation by doing something like
comptime_array = compime_array ++ .{element};
in a loop, but I can't seem to make it work. Tthe compiler complains (understandably) about a type mismatch as of course the left and right hand sides of that assignment have different type, Is something like this possible? I though I saw an example of this somewhere, but I can't find it. If it's not possible I suppose I will I have to come up with an upper bound for the array size and then do
comptime_array[index] = element;
index += 1;
and then make the array via
const actual_array = array[0..index]
```1