summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-04-07 09:43:16 +0800
committerLi Jin <dragon-fly@qq.com>2022-04-07 09:43:16 +0800
commit105f3b04b83ac7d8c546e5e0c2a815a626e8cf0b (patch)
tree5b4a73aee0cc42b1a091c6755be2c7fd565e5f41 /spec
parentd48b2856191f8c1efbe89f1a4000753575253b54 (diff)
downloadyuescript-105f3b04b83ac7d8c546e5e0c2a815a626e8cf0b.tar.gz
yuescript-105f3b04b83ac7d8c546e5e0c2a815a626e8cf0b.tar.bz2
yuescript-105f3b04b83ac7d8c546e5e0c2a815a626e8cf0b.zip
fix class initializing procedure.
Diffstat (limited to 'spec')
-rw-r--r--spec/outputs/class.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/outputs/class.lua b/spec/outputs/class.lua
index f0482f9..696e74c 100644
--- a/spec/outputs/class.lua
+++ b/spec/outputs/class.lua
@@ -1114,7 +1114,7 @@ do
1114 } 1114 }
1115 for _index_0 = 1, #_list_0 do 1115 for _index_0 = 1, #_list_0 do
1116 local _mixin_0 = _list_0[_index_0] 1116 local _mixin_0 = _list_0[_index_0]
1117 for _key_0, _val_0 in pairs(_mixin_0.__class and _mixin_0.__base or _mixin_0) do 1117 for _key_0, _val_0 in pairs(_mixin_0.__base or _mixin_0) do
1118 if _base_0[_key_0] == nil then 1118 if _base_0[_key_0] == nil then
1119 _base_0[_key_0] = _val_0 1119 _base_0[_key_0] = _val_0
1120 end 1120 end