aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/codes_from_doc_pt-br.lua
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-02-12 10:45:06 +0800
committerLi Jin <dragon-fly@qq.com>2026-02-12 10:45:06 +0800
commit319f49796439e50640cadff1220681a217be98a3 (patch)
treed65021d61b64373d5fb3763ba6375faaebaa1e53 /spec/outputs/codes_from_doc_pt-br.lua
parentd63779ec0a6f00854f53b48b0f6a67707879b6d1 (diff)
downloadyuescript-319f49796439e50640cadff1220681a217be98a3.tar.gz
yuescript-319f49796439e50640cadff1220681a217be98a3.tar.bz2
yuescript-319f49796439e50640cadff1220681a217be98a3.zip
Added the all-in-one doc.
Diffstat (limited to 'spec/outputs/codes_from_doc_pt-br.lua')
-rw-r--r--spec/outputs/codes_from_doc_pt-br.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/outputs/codes_from_doc_pt-br.lua b/spec/outputs/codes_from_doc_pt-br.lua
index caa15d6..0d0c76f 100644
--- a/spec/outputs/codes_from_doc_pt-br.lua
+++ b/spec/outputs/codes_from_doc_pt-br.lua
@@ -2163,6 +2163,18 @@ repeat
2163 result = _with_0.value 2163 result = _with_0.value
2164 break 2164 break
2165until true 2165until true
2166local a
2167do
2168 local _with_0 = obj
2169 _with_0.x = 1
2170 a = _with_0
2171end
2172local b
2173local _with_0 = obj
2174repeat
2175 b = _with_0.x
2176 break
2177until true
2166local create_person 2178local create_person
2167create_person = function(name, relatives) 2179create_person = function(name, relatives)
2168 local _with_0 = Person() 2180 local _with_0 = Person()
@@ -2209,6 +2221,18 @@ repeat
2209 result = _with_0.value 2221 result = _with_0.value
2210 break 2222 break
2211until true 2223until true
2224local a
2225do
2226 local _with_0 = obj
2227 _with_0.x = 1
2228 a = _with_0
2229end
2230local b
2231local _with_0 = obj
2232repeat
2233 b = _with_0.x
2234 break
2235until true
2212local create_person 2236local create_person
2213create_person = function(name, relatives) 2237create_person = function(name, relatives)
2214 local _with_0 = Person() 2238 local _with_0 = Person()