Hi,
I am trying to create a struct with
MyStruct:: struct($T: typeid) {
...
values: []T
}
....
new_with_bounds :: proc($T: typeid, allocator := context.allocator) -> (h: ^MyStruct(T), err: Error) {
...
x := mem.new(MyStruct(T), allocator)
...
and I get this: Error: Assignment count mismatch ‘1’ = ‘2’
platform: Windows