summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/outputs/switch.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/outputs/switch.lua b/spec/outputs/switch.lua
index 7b413f8..a341e99 100644
--- a/spec/outputs/switch.lua
+++ b/spec/outputs/switch.lua
@@ -330,4 +330,22 @@ do
330 end 330 end
331 end 331 end
332end 332end
333do
334 do
335 local _exp_0 = y
336 local _tab_0 = "table" == type(_exp_0)
337 if _tab_0 then
338 local mt = (function()
339 local _obj_0 = _exp_0.x
340 if _obj_0 ~= nil then
341 return getmetatable(_obj_0)
342 end
343 return nil
344 end)()
345 if mt ~= nil then
346 print(mt)
347 end
348 end
349 end
350end
333return nil 351return nil