diff options
Diffstat (limited to 'spec/outputs/codes_from_doc.lua')
| -rw-r--r-- | spec/outputs/codes_from_doc.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/outputs/codes_from_doc.lua b/spec/outputs/codes_from_doc.lua index d857dec..55be7df 100644 --- a/spec/outputs/codes_from_doc.lua +++ b/spec/outputs/codes_from_doc.lua | |||
| @@ -2147,6 +2147,10 @@ do | |||
| 2147 | _with_1["key-name"] = value | 2147 | _with_1["key-name"] = value |
| 2148 | end | 2148 | end |
| 2149 | _with_0[#_with_0 + 1] = "abc" | 2149 | _with_0[#_with_0 + 1] = "abc" |
| 2150 | local _with_0 = obj | ||
| 2151 | if _with_0 ~= nil then | ||
| 2152 | print(obj.name) | ||
| 2153 | end | ||
| 2150 | do | 2154 | do |
| 2151 | local var = "hello" | 2155 | local var = "hello" |
| 2152 | print(var) | 2156 | print(var) |
| @@ -4363,6 +4367,10 @@ do | |||
| 4363 | _with_1["key-name"] = value | 4367 | _with_1["key-name"] = value |
| 4364 | end | 4368 | end |
| 4365 | _with_0[#_with_0 + 1] = "abc" | 4369 | _with_0[#_with_0 + 1] = "abc" |
| 4370 | local _with_0 = obj | ||
| 4371 | if _with_0 ~= nil then | ||
| 4372 | print(obj.name) | ||
| 4373 | end | ||
| 4366 | do | 4374 | do |
| 4367 | local var = "hello" | 4375 | local var = "hello" |
| 4368 | print(var) | 4376 | print(var) |
