diff options
Diffstat (limited to 'spec/outputs/destructure.lua')
-rw-r--r-- | spec/outputs/destructure.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/outputs/destructure.lua b/spec/outputs/destructure.lua index 9ca13c8..1862b85 100644 --- a/spec/outputs/destructure.lua +++ b/spec/outputs/destructure.lua | |||
@@ -298,8 +298,11 @@ do | |||
298 | end | 298 | end |
299 | local _obj_1 = getmetatable(tb).func | 299 | local _obj_1 = getmetatable(tb).func |
300 | if _obj_1 == nil then | 300 | if _obj_1 == nil then |
301 | if item ~= nil then | 301 | do |
302 | _obj_1 = item.defVal | 302 | local _obj_2 = item |
303 | if _obj_2 ~= nil then | ||
304 | _obj_1 = _obj_2.defVal | ||
305 | end | ||
303 | end | 306 | end |
304 | end | 307 | end |
305 | a.b(function() | 308 | a.b(function() |