Error: implementation of 'data' expected in type? Here in code below, i'm having trouble with the error in the title.
type
Mat4[T] = object
data : array[4,array[4,T]] = 0.0.T
But if i do this i get no error i just have to overload the operator as far as i know... maybe i have too on both i haven't gotten very far.
type
Mat4[T] = array[4,array[4,T]]
so my final question is why do i get the error on first example when i see that it is written that way in the manual and learn documents is it a bug? or am i wrong?