Is it illegal to have the “module” statement at the top of main.lua?
–[[
main
–]]
module(…, package.seeall)
All I did was add that module statement and now I get the following error:
(Actually I just copied & pasted it from another file that generated no errors)
/Users/Caster/Data1/iDev/Corona Projs/TOT/main.lua:4: bad argument #1 to ‘module’ (string expected, got nil)
stack traceback:
[C]: ?
[C]: in function ‘module’
/Users/Caster/Data1/iDev/Corona Projs/TOT/main.lua:4: in main chunk
[import]uid: 295 topic_id: 1943 reply_id: 301943[/import]