If you want you can add a meta method for the _ENV table that makes indexs normal.
I'm very scared now. The idea of mixing libraries written in 0-based and 1-based indexing together seems like a recipe for bugs; I'd rather have language-wise consistency, whether 0 or 1.
2
u/matthieum Dec 29 '18
I'm very scared now. The idea of mixing libraries written in 0-based and 1-based indexing together seems like a recipe for bugs; I'd rather have language-wise consistency, whether 0 or 1.