aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/with.lua
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2024-10-08 17:58:49 +0800
committerLi Jin <dragon-fly@qq.com>2024-10-08 17:58:49 +0800
commit05da3cbfa3689e6c229c41156d0dd08ab554cd77 (patch)
tree97eb63ae37ac36a41bbf8a6a02f3a838d089d600 /spec/outputs/with.lua
parent91ca3bfacc2b3f5516a519c939814d7462f73141 (diff)
downloadyuescript-0.25.5.tar.gz
yuescript-0.25.5.tar.bz2
yuescript-0.25.5.zip
Fixed a miss indent and removed an unnecessary do block.v0.25.5
Diffstat (limited to 'spec/outputs/with.lua')
-rw-r--r--spec/outputs/with.lua11
1 files changed, 8 insertions, 3 deletions
diff --git a/spec/outputs/with.lua b/spec/outputs/with.lua
index d880d1e..5d33bdb 100644
--- a/spec/outputs/with.lua
+++ b/spec/outputs/with.lua
@@ -121,9 +121,7 @@ do
121 local _ 121 local _
122 _ = function() 122 _ = function()
123 local _with_0 = hi 123 local _with_0 = hi
124 do 124 return _with_0.a, _with_0.b
125 return _with_0.a, _with_0.b
126 end
127 end 125 end
128end 126end
129do 127do
@@ -184,4 +182,11 @@ do
184 mask.swallowTouches = true 182 mask.swallowTouches = true
185 end 183 end
186end 184end
185do
186 local f
187 f = function()
188 local _with_0 = { }
189 return _with_0[123]
190 end
191end
187return nil 192return nil