Hey guys I just was inspecting my code recently and noticed that I was using the physics library in a module which I didnt require physics into. I suspected I had made a global by mistake but came to a wierd conclusion. It seems that when you require physics into any variable, a key “physics” gets formed in the “_G” table.
Here is all you need to reproduce this behavior:
print(\_G["physics"]) -- Will print 'nil' -- Require physics local something = require("physics") -- Check '\_G' table print(\_G["physics"]) -- Prints 'Table' + some characters
I have submitted a bug report and I am using Corona 2013.1127