diff options
author | Li Jin <dragon-fly@qq.com> | 2022-04-02 09:50:09 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-04-02 09:50:09 +0800 |
commit | 1f1af19560054b47935151f298ff06ff2cad5ef9 (patch) | |
tree | 0c051c0b137794eb15c8b87f7602c720ed0fe397 /spec/outputs | |
parent | ca1ed557769352c0ac0ca7804dd25e18c1fdf2e1 (diff) | |
download | yuescript-1f1af19560054b47935151f298ff06ff2cad5ef9.tar.gz yuescript-1f1af19560054b47935151f298ff06ff2cad5ef9.tar.bz2 yuescript-1f1af19560054b47935151f298ff06ff2cad5ef9.zip |
try fixing overriding issue mentioned in issue #84.
Diffstat (limited to 'spec/outputs')
-rw-r--r-- | spec/outputs/class.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/outputs/class.lua b/spec/outputs/class.lua index 85845d3..929c243 100644 --- a/spec/outputs/class.lua +++ b/spec/outputs/class.lua | |||
@@ -1033,7 +1033,7 @@ do | |||
1033 | for _index_0 = 1, #_list_0 do | 1033 | for _index_0 = 1, #_list_0 do |
1034 | local _mixin_0 = _list_0[_index_0] | 1034 | local _mixin_0 = _list_0[_index_0] |
1035 | for _key_0, _val_0 in pairs(_mixin_0.__base) do | 1035 | for _key_0, _val_0 in pairs(_mixin_0.__base) do |
1036 | if not _key_0:match("^__") then | 1036 | if not _key_0:match("^__") and _base_0[_key_0] == nil then |
1037 | _base_0[_key_0] = _val_0 | 1037 | _base_0[_key_0] = _val_0 |
1038 | end | 1038 | end |
1039 | end | 1039 | end |