Why does this cause a C stack overflow?
1 answer
Deep recursion .
Inside a call to a metamethod __newindex
, self[key] = value
it calls the metamethod again __newindex
, recursively, before.
+4
source to share