This commit is contained in:
Artem Serebriyskiy 2013-11-11 15:23:50 +04:00
commit f1fb2cc295
3 changed files with 25 additions and 24 deletions

View file

@ -3,6 +3,7 @@ import("template_default_arg") -- import code
--for k,v in pairs(template_default_arg) do _G[k]=v end -- move to global
helloInt = template_default_arg.Hello_int()
assert(template_default_arg.Hello_int_hi ~= nil)
helloInt:foo(template_default_arg.Hello_int_hi)
x = template_default_arg.X_int()