@syimyuzya what is intended with those assignments? Should both variables be assigned the value, or only one?
This piece of code existed before my modification, It is equivalent to (and should be written as) r, scope = r .. scope, nil.
I immitated this style at first in my code, writing j, l, u = nil four times. Didn't realize that this is not actually a good practice in Lua. This can be fixed by changing to just j = nil (l and u not read when j is nil).
In #3:
This piece of code existed before my modification, It is equivalent to (and should be written as)
r, scope = r .. scope, nil
.I immitated this style at first in my code, writing
j, l, u = nil
four times. Didn't realize that this is not actually a good practice in Lua. This can be fixed by changing to justj = nil
(l
andu
not read whenj
isnil
).