aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/with.lua
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2025-05-23 15:07:45 +0800
committerLi Jin <dragon-fly@qq.com>2025-05-23 15:07:45 +0800
commit4ba4c90e711c6204aa40e38347c5a5a076d9370e (patch)
treec929f1f5dc7002a65311db82abf4228aaa979925 /spec/outputs/with.lua
parentcf0a0f37bf07eb8e9435febe96e3adfe45004f91 (diff)
downloadyuescript-main.tar.gz
yuescript-main.tar.bz2
yuescript-main.zip
Added `-` for implicit object.HEADv0.28.3main
Diffstat (limited to '')
-rw-r--r--spec/outputs/with.lua30
1 files changed, 25 insertions, 5 deletions
diff --git a/spec/outputs/with.lua b/spec/outputs/with.lua
index 20c5d44..867d1b5 100644
--- a/spec/outputs/with.lua
+++ b/spec/outputs/with.lua
@@ -203,15 +203,35 @@ do
203 return _with_0 203 return _with_0
204 end)()) 204 end)())
205 local a 205 local a
206 local _with_0 = tb 206 do
207 local _with_0 = tb
208 do
209 local _accum_0
210 while true do
211 if _with_0.v then
212 _accum_0 = _with_0.a
213 break
214 end
215 end
216 _with_0 = _accum_0
217 end
218 a = _with_0
219 end
207 local _accum_0 220 local _accum_0
208 while true do 221 while true do
209 if _with_0.v then 222 local _with_0 = tb
210 _accum_0 = _with_0.a 223 local _accum_1
224 while true do
225 if _with_0 ~= nil then
226 _accum_1 = 1
227 break
228 end
211 break 229 break
212 end 230 end
231 _with_0 = _accum_1
232 _accum_0 = _with_0
233 break
213 end 234 end
214 _with_0 = _accum_0 235 a = _accum_0
215 a = _with_0
216end 236end
217return nil 237return nil