Closed MortimerSnerd closed 2 years ago
Or you can, but you just get zero length array. Example:
class Blass: arf: [int] = vector_reserve(typeof return, 12) let b = Blass{} print("count {length(b.arf)}") // prints "count 0"
I'd be happy with a compile error if it's just something that's not supported.
Nevermind, my brain is not working today. I forgot it reserves, but the length is still at 0.
Or you can, but you just get zero length array. Example:
I'd be happy with a compile error if it's just something that's not supported.