diff options
| author | Li Jin <dragon-fly@qq.com> | 2022-04-06 17:21:36 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2022-04-06 17:21:57 +0800 |
| commit | 49f44f799b39dcc4ffe69502638108398732f8df (patch) | |
| tree | 0e9a3ee00aac9f8fdd7ae1c69e9a21ca358d1f34 /spec/outputs/export.lua | |
| parent | 1f1af19560054b47935151f298ff06ff2cad5ef9 (diff) | |
| download | yuescript-49f44f799b39dcc4ffe69502638108398732f8df.tar.gz yuescript-49f44f799b39dcc4ffe69502638108398732f8df.tar.bz2 yuescript-49f44f799b39dcc4ffe69502638108398732f8df.zip | |
adding support for fixing issue #85.
Diffstat (limited to 'spec/outputs/export.lua')
| -rw-r--r-- | spec/outputs/export.lua | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/spec/outputs/export.lua b/spec/outputs/export.lua index 4d81cc0..84e5424 100644 --- a/spec/outputs/export.lua +++ b/spec/outputs/export.lua | |||
| @@ -13,7 +13,9 @@ do | |||
| 13 | local _base_0 = { | 13 | local _base_0 = { |
| 14 | umm = "cool" | 14 | umm = "cool" |
| 15 | } | 15 | } |
| 16 | _base_0.__index = _base_0 | 16 | if _base_0.__index == nil then |
| 17 | _base_0.__index = _base_0 | ||
| 18 | end | ||
| 17 | _class_0 = setmetatable({ | 19 | _class_0 = setmetatable({ |
| 18 | __init = function() end, | 20 | __init = function() end, |
| 19 | __base = _base_0, | 21 | __base = _base_0, |
| @@ -168,7 +170,9 @@ f((function() | |||
| 168 | do | 170 | do |
| 169 | local _class_0 | 171 | local _class_0 |
| 170 | local _base_0 = { } | 172 | local _base_0 = { } |
| 171 | _base_0.__index = _base_0 | 173 | if _base_0.__index == nil then |
| 174 | _base_0.__index = _base_0 | ||
| 175 | end | ||
| 172 | _class_0 = setmetatable({ | 176 | _class_0 = setmetatable({ |
| 173 | __init = function() end, | 177 | __init = function() end, |
| 174 | __base = _base_0, | 178 | __base = _base_0, |
| @@ -264,7 +268,9 @@ _ = tostring((function() | |||
| 264 | do | 268 | do |
| 265 | local _class_0 | 269 | local _class_0 |
| 266 | local _base_0 = { } | 270 | local _base_0 = { } |
| 267 | _base_0.__index = _base_0 | 271 | if _base_0.__index == nil then |
| 272 | _base_0.__index = _base_0 | ||
| 273 | end | ||
| 268 | _class_0 = setmetatable({ | 274 | _class_0 = setmetatable({ |
| 269 | __init = function() end, | 275 | __init = function() end, |
| 270 | __base = _base_0, | 276 | __base = _base_0, |
| @@ -289,7 +295,9 @@ _module_0["v2"] = v2 | |||
| 289 | do | 295 | do |
| 290 | local _class_0 | 296 | local _class_0 |
| 291 | local _base_0 = { } | 297 | local _base_0 = { } |
| 292 | _base_0.__index = _base_0 | 298 | if _base_0.__index == nil then |
| 299 | _base_0.__index = _base_0 | ||
| 300 | end | ||
| 293 | _class_0 = setmetatable({ | 301 | _class_0 = setmetatable({ |
| 294 | __init = function() end, | 302 | __init = function() end, |
| 295 | __base = _base_0, | 303 | __base = _base_0, |
