The type of `alloc0` is `pointer`, you cannot assign to these directly. You 
need to cast it to `ptr int` to assign `int` to it. So `cast[ptr 
int](result.data)[] = 10`

Reply via email to