diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-07 21:33:23 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-07 21:33:23 +0800 |
commit | dd37471ee6bd108fad9e3014a827621114ac4257 (patch) | |
tree | 2f4165149a49aa272631862b103a8580294dbfd9 /script/vm/generic.lua | |
parent | 5e795825cc9a09d7bc895ab389d32e6482063917 (diff) | |
download | lua-language-server-dd37471ee6bd108fad9e3014a827621114ac4257.zip |
update generic
Diffstat (limited to 'script/vm/generic.lua')
-rw-r--r-- | script/vm/generic.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/script/vm/generic.lua b/script/vm/generic.lua index 7b0eb120..e0096e30 100644 --- a/script/vm/generic.lua +++ b/script/vm/generic.lua @@ -67,12 +67,12 @@ local function cloneObject(node, resolved) } for i, field in ipairs(node.fields) do local newField = { - type = field.type, - start = field.start, - finish = field.finish, - parent = newTable, - name = field.name, - extends = cloneObject(field.extends, resolved) + type = field.type, + start = field.start, + finish = field.finish, + parent = newTable, + name = cloneObject(field.name, resolved), + extends = cloneObject(field.extends, resolved), } newField.name.parent = newField newField.extends.parent = newField |