diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-01 14:52:45 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-01 14:52:45 +0800 |
commit | f050b38fd69bd1c90b99b536f89f8036c9f4fc3a (patch) | |
tree | f0564c91d20fbb9e26aad2b315df9aad4ff747e7 /script/vm/compiler.lua | |
parent | ae95f749532c2252c671d1b3cab73d7e18cf777c (diff) | |
download | lua-language-server-f050b38fd69bd1c90b99b536f89f8036c9f4fc3a.zip |
update search reference
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r-- | script/vm/compiler.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 69cfdc55..a38329f8 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1610,6 +1610,10 @@ local compilerSwitch = util.switch() end vm.setNode(source, fieldNode) end) + : case 'doc.field.name' + : call(function (source) + vm.setNode(source, vm.compileNode(source.parent)) + end) : case 'doc.type.field' : call(function (source) if not source.extends then |