diff options
Diffstat (limited to 'spec/outputs/upvalue_func.lua')
-rw-r--r-- | spec/outputs/upvalue_func.lua | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/spec/outputs/upvalue_func.lua b/spec/outputs/upvalue_func.lua index 5768d2d..14fe400 100644 --- a/spec/outputs/upvalue_func.lua +++ b/spec/outputs/upvalue_func.lua | |||
@@ -320,28 +320,26 @@ local _anon_func_13 = function(pairs, tb) | |||
320 | return _accum_0 | 320 | return _accum_0 |
321 | end | 321 | end |
322 | local _anon_func_14 = function(setmetatable) | 322 | local _anon_func_14 = function(setmetatable) |
323 | do | 323 | local _class_0 |
324 | local _class_0 | 324 | local _base_0 = { } |
325 | local _base_0 = { } | 325 | if _base_0.__index == nil then |
326 | if _base_0.__index == nil then | 326 | _base_0.__index = _base_0 |
327 | _base_0.__index = _base_0 | 327 | end |
328 | _class_0 = setmetatable({ | ||
329 | __init = function(self) | ||
330 | self.value = 1 | ||
331 | end, | ||
332 | __base = _base_0 | ||
333 | }, { | ||
334 | __index = _base_0, | ||
335 | __call = function(cls, ...) | ||
336 | local _self_0 = setmetatable({ }, _base_0) | ||
337 | cls.__init(_self_0, ...) | ||
338 | return _self_0 | ||
328 | end | 339 | end |
329 | _class_0 = setmetatable({ | 340 | }) |
330 | __init = function(self) | 341 | _base_0.__class = _class_0 |
331 | self.value = 1 | 342 | return _class_0 |
332 | end, | ||
333 | __base = _base_0 | ||
334 | }, { | ||
335 | __index = _base_0, | ||
336 | __call = function(cls, ...) | ||
337 | local _self_0 = setmetatable({ }, _base_0) | ||
338 | cls.__init(_self_0, ...) | ||
339 | return _self_0 | ||
340 | end | ||
341 | }) | ||
342 | _base_0.__class = _class_0 | ||
343 | return _class_0 | ||
344 | end | ||
345 | end | 343 | end |
346 | local _anon_func_15 = function(tb) | 344 | local _anon_func_15 = function(tb) |
347 | tb.field = 1 | 345 | tb.field = 1 |