aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/syntax.lua
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2025-04-11 17:33:12 +0800
committerLi Jin <dragon-fly@qq.com>2025-04-11 17:33:12 +0800
commite96308912e2e04535836a2c282b0a7300d2d81fd (patch)
tree9c6f55dbce6193dac6f78dad94f76ad1c0a6ef1a /spec/outputs/syntax.lua
parent9750786a5c03b5ce3ea22b240d1b3cd34990856b (diff)
downloadyuescript-0.27.4.tar.gz
yuescript-0.27.4.tar.bz2
yuescript-0.27.4.zip
Fixing issue #206.v0.27.4
Diffstat (limited to 'spec/outputs/syntax.lua')
-rw-r--r--spec/outputs/syntax.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/outputs/syntax.lua b/spec/outputs/syntax.lua
index 5fd1821..040a325 100644
--- a/spec/outputs/syntax.lua
+++ b/spec/outputs/syntax.lua
@@ -239,9 +239,11 @@ x = 0
239local _list_0 = values 239local _list_0 = values
240for _index_0 = 1, #_list_0 do 240for _index_0 = 1, #_list_0 do
241 local v = _list_0[_index_0] 241 local v = _list_0[_index_0]
242 if ntype(v) == "fndef" then 242 _ = ((function()
243 _ = x + 1 243 if ntype(v) == "fndef" then
244 end 244 return x + 1
245 end
246 end)())
245end 247end
246hello = { 248hello = {
247 something = world, 249 something = world,