hi folks! here is the code i'm struggling with https://zigbin.io/129aec
on zig test, it gives:
main.zig:15:76: error: unable to resolve comptime value
pub inline fn initFromSliceEmpty(slice: anytype) StackFromSlice(SliceChild(slice)) {
^~~~~
main.zig:15:76: note: argument to function being called at comptime must be comptime-known
main.zig:88:36: note: called from here
var stack1 = initFromSliceEmpty(buf[0..]);
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
i'am not sure why it can't get it resolved since all we do here is just types jumbling and they are always available even for the runtime arguments. what am i missing?