aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/codes_from_doc_en.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/outputs/codes_from_doc_en.lua')
-rw-r--r--spec/outputs/codes_from_doc_en.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/outputs/codes_from_doc_en.lua b/spec/outputs/codes_from_doc_en.lua
index 4006605..6d822e1 100644
--- a/spec/outputs/codes_from_doc_en.lua
+++ b/spec/outputs/codes_from_doc_en.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()