diff options
Diffstat (limited to 'spec/outputs/global.lua')
-rw-r--r-- | spec/outputs/global.lua | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/spec/outputs/global.lua b/spec/outputs/global.lua index 930ecf6..7e74387 100644 --- a/spec/outputs/global.lua +++ b/spec/outputs/global.lua | |||
@@ -3,29 +3,27 @@ do | |||
3 | cool = "dad" | 3 | cool = "dad" |
4 | end | 4 | end |
5 | do | 5 | do |
6 | do | 6 | local _class_0 |
7 | local _class_0 | 7 | local _base_0 = { |
8 | local _base_0 = { | 8 | umm = "cool" |
9 | umm = "cool" | 9 | } |
10 | } | 10 | if _base_0.__index == nil then |
11 | if _base_0.__index == nil then | 11 | _base_0.__index = _base_0 |
12 | _base_0.__index = _base_0 | ||
13 | end | ||
14 | _class_0 = setmetatable({ | ||
15 | __init = function() end, | ||
16 | __base = _base_0, | ||
17 | __name = "Something" | ||
18 | }, { | ||
19 | __index = _base_0, | ||
20 | __call = function(cls, ...) | ||
21 | local _self_0 = setmetatable({ }, _base_0) | ||
22 | cls.__init(_self_0, ...) | ||
23 | return _self_0 | ||
24 | end | ||
25 | }) | ||
26 | _base_0.__class = _class_0 | ||
27 | Something = _class_0 | ||
28 | end | 12 | end |
13 | _class_0 = setmetatable({ | ||
14 | __init = function() end, | ||
15 | __base = _base_0, | ||
16 | __name = "Something" | ||
17 | }, { | ||
18 | __index = _base_0, | ||
19 | __call = function(cls, ...) | ||
20 | local _self_0 = setmetatable({ }, _base_0) | ||
21 | cls.__init(_self_0, ...) | ||
22 | return _self_0 | ||
23 | end | ||
24 | }) | ||
25 | _base_0.__class = _class_0 | ||
26 | Something = _class_0 | ||
29 | end | 27 | end |
30 | do | 28 | do |
31 | local d | 29 | local d |