Closed Mytrin closed 1 year ago
Greetings,
I've decided to fix https://github.com/arcticfox1919/LuaDardo/issues/10. First commit of this MR contains a simple test, which proves that "next keys" map is not reinitialized after insertion of new key.
I ended up extracting parts of LuaTable to their own classes, so lazy initialization and null checks are encapsulated and easier to maintain.
I moved changes into a new branch, so it messed up this PR a bit. Moved on into a new: https://github.com/arcticfox1919/LuaDardo/pull/19
Greetings,
I've decided to fix https://github.com/arcticfox1919/LuaDardo/issues/10. First commit of this MR contains a simple test, which proves that "next keys" map is not reinitialized after insertion of new key.
I ended up extracting parts of LuaTable to their own classes, so lazy initialization and null checks are encapsulated and easier to maintain.