diff options
Diffstat (limited to '')
-rw-r--r-- | spec/outputs/with.lua | 46 |
1 files changed, 41 insertions, 5 deletions
diff --git a/spec/outputs/with.lua b/spec/outputs/with.lua index 20c5d44..338d51f 100644 --- a/spec/outputs/with.lua +++ b/spec/outputs/with.lua | |||
@@ -203,15 +203,51 @@ 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 | ||
234 | end | ||
235 | a = _accum_0 | ||
236 | end | ||
237 | do | ||
238 | local a | ||
239 | local _accum_0 | ||
240 | for i = 1, 100 do | ||
241 | local x = tb[i] | ||
242 | if x ~= nil then | ||
243 | local _des_0 = 1 | ||
244 | if _des_0 then | ||
245 | x.id = _des_0 | ||
246 | _accum_0 = x | ||
247 | break | ||
248 | end | ||
249 | end | ||
213 | end | 250 | end |
214 | _with_0 = _accum_0 | 251 | a = _accum_0 |
215 | a = _with_0 | ||
216 | end | 252 | end |
217 | return nil | 253 | return nil |