diff options
Diffstat (limited to 'spec/outputs/export.lua')
-rw-r--r-- | spec/outputs/export.lua | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/spec/outputs/export.lua b/spec/outputs/export.lua index 962f18c..f1beeee 100644 --- a/spec/outputs/export.lua +++ b/spec/outputs/export.lua | |||
@@ -1,4 +1,4 @@ | |||
1 | local _module_0 = { } | 1 | local _module_0 = setmetatable({ }, { }) |
2 | local a, b, c = 223, 343, 123 | 2 | local a, b, c = 223, 343, 123 |
3 | _module_0["a"], _module_0["b"], _module_0["c"] = a, b, c | 3 | _module_0["a"], _module_0["b"], _module_0["c"] = a, b, c |
4 | local cool = "dad" | 4 | local cool = "dad" |
@@ -62,11 +62,12 @@ do | |||
62 | end) | 62 | end) |
63 | end | 63 | end |
64 | _module_0["cbVal"] = cbVal | 64 | _module_0["cbVal"] = cbVal |
65 | y = function() | 65 | local yy |
66 | yy = function() | ||
66 | local h = 100 | 67 | local h = 100 |
67 | local k = 100 | 68 | local k = 100 |
68 | end | 69 | end |
69 | _module_0["y"] = y | 70 | _module_0["yy"] = yy |
70 | do | 71 | do |
71 | local _exp_0 = h | 72 | local _exp_0 = h |
72 | if 100 == _exp_0 or 150 == _exp_0 then | 73 | if 100 == _exp_0 or 150 == _exp_0 then |
@@ -322,4 +323,10 @@ do | |||
322 | end | 323 | end |
323 | _module_0["v3"] = v3 | 324 | _module_0["v3"] = v3 |
324 | v5 = 5 | 325 | v5 = 5 |
326 | getmetatable(_module_0)["abc"] = 1 | ||
327 | getmetatable(_module_0).__name = "export" | ||
328 | getmetatable(_module_0).__call = function(self) | ||
329 | return { } | ||
330 | end | ||
331 | _module_0["a-b-c-x"] = 123 | ||
325 | return _module_0 | 332 | return _module_0 |