aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/5.1/attrib.lua
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2024-05-17 16:38:44 +0800
committerLi Jin <dragon-fly@qq.com>2024-05-17 16:38:44 +0800
commit06bf167924d04aaefe80d6e4ead40989a447ea34 (patch)
treeccd2c3b62797d378ee7cc1872440483d328980ca /spec/outputs/5.1/attrib.lua
parentfe317e2bdd9cb60b3c7cd347e21ce65cf90396e7 (diff)
downloadyuescript-0.23.6.tar.gz
yuescript-0.23.6.tar.bz2
yuescript-0.23.6.zip
fix more cases in try-catch syntax.v0.23.6
Diffstat (limited to 'spec/outputs/5.1/attrib.lua')
-rw-r--r--spec/outputs/5.1/attrib.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/outputs/5.1/attrib.lua b/spec/outputs/5.1/attrib.lua
index 9cacd97..8361b24 100644
--- a/spec/outputs/5.1/attrib.lua
+++ b/spec/outputs/5.1/attrib.lua
@@ -199,7 +199,9 @@ do
199 end 199 end
200 }) 200 })
201 local _close_2 = assert(getmetatable(_).__close) 201 local _close_2 = assert(getmetatable(_).__close)
202 return _anon_func_9(_, _close_2, error, pcall(print, "third")) 202 return _anon_func_9(_, _close_2, error, pcall(function()
203 return print("third")
204 end))
203 end)) 205 end))
204 end)) 206 end))
205end 207end