aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/existential.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/outputs/existential.lua28
1 files changed, 23 insertions, 5 deletions
diff --git a/spec/outputs/existential.lua b/spec/outputs/existential.lua
index 4a64c49..b594218 100644
--- a/spec/outputs/existential.lua
+++ b/spec/outputs/existential.lua
@@ -148,9 +148,27 @@ end)() ~= nil) or (function()
148 end 148 end
149 return nil 149 return nil
150end)() 150end)()
151local _with_0 = io.open("test.txt", "w") 151do
152if _with_0 ~= nil then 152 local _with_0 = io.open("test.txt", "w")
153 _with_0:write("hello") 153 if _with_0 ~= nil then
154 _with_0:close() 154 _with_0:write("hello")
155 _with_0:close()
156 end
157end
158if tb ~= nil then
159 local _obj_1 = getmetatable(tb).__a
160 if _obj_1 ~= nil then
161 _obj_1(123)
162 end
163end
164do
165 local _with_0
166 local _obj_1 = getmetatable(tb)
167 if _obj_1 ~= nil then
168 _with_0 = getmetatable(_obj_1).__index
169 end
170 if _with_0 ~= nil then
171 _with_0.a = 1
172 end
155end 173end
156return _with_0 174return nil