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/global.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/global.lua')
-rw-r--r-- | spec/outputs/global.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/outputs/global.lua b/spec/outputs/global.lua index 1c9a3cf..ef73823 100644 --- a/spec/outputs/global.lua +++ b/spec/outputs/global.lua | |||
@@ -8,7 +8,9 @@ do | |||
8 | local _base_0 = { | 8 | local _base_0 = { |
9 | umm = "cool" | 9 | umm = "cool" |
10 | } | 10 | } |
11 | _base_0.__index = _base_0 | 11 | if _base_0.__index == nil then |
12 | _base_0.__index = _base_0 | ||
13 | end | ||
12 | _class_0 = setmetatable({ | 14 | _class_0 = setmetatable({ |
13 | __init = function() end, | 15 | __init = function() end, |
14 | __base = _base_0, | 16 | __base = _base_0, |