Closed hirochachacha closed 11 years ago
This would definitely be the most Lua-like behaviour, and Go maps work the same way as Lua tables if the key is the correct type. A more complete solution would raise an error if the key was not correct, but I agree with you that this is the way to go for now!
I agree, I think add strict conversion option to LuaToGo is one solution.
Hi, thanks for updating 1.2! I currently use map to table conversion in my project. But I find if map__index raise error, I can't check key existence.