diff options
Diffstat (limited to 'spec/outputs/codes_from_doc_zh.lua')
| -rw-r--r-- | spec/outputs/codes_from_doc_zh.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/outputs/codes_from_doc_zh.lua b/spec/outputs/codes_from_doc_zh.lua index 4ff3866..c847841 100644 --- a/spec/outputs/codes_from_doc_zh.lua +++ b/spec/outputs/codes_from_doc_zh.lua | |||
| @@ -2163,6 +2163,18 @@ repeat | |||
| 2163 | result = _with_0.value | 2163 | result = _with_0.value |
| 2164 | break | 2164 | break |
| 2165 | until true | 2165 | until true |
| 2166 | local a | ||
| 2167 | do | ||
| 2168 | local _with_0 = obj | ||
| 2169 | _with_0.x = 1 | ||
| 2170 | a = _with_0 | ||
| 2171 | end | ||
| 2172 | local b | ||
| 2173 | local _with_0 = obj | ||
| 2174 | repeat | ||
| 2175 | b = _with_0.x | ||
| 2176 | break | ||
| 2177 | until true | ||
| 2166 | local create_person | 2178 | local create_person |
| 2167 | create_person = function(name, relatives) | 2179 | create_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 |
| 2211 | until true | 2223 | until true |
| 2224 | local a | ||
| 2225 | do | ||
| 2226 | local _with_0 = obj | ||
| 2227 | _with_0.x = 1 | ||
| 2228 | a = _with_0 | ||
| 2229 | end | ||
| 2230 | local b | ||
| 2231 | local _with_0 = obj | ||
| 2232 | repeat | ||
| 2233 | b = _with_0.x | ||
| 2234 | break | ||
| 2235 | until true | ||
| 2212 | local create_person | 2236 | local create_person |
| 2213 | create_person = function(name, relatives) | 2237 | create_person = function(name, relatives) |
| 2214 | local _with_0 = Person() | 2238 | local _with_0 = Person() |
