summaryrefslogtreecommitdiff
path: root/script/vm/local-id.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-17 03:38:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-17 03:38:41 +0800
commit103d77b9789d0e9d420479dd7b746827ce79e3da (patch)
tree184b034c98a2e5ee3dda144c269a5af7e119b9fa /script/vm/local-id.lua
parent3996e193acf42c0f42a3ed2ee65e5e674c9ddeb0 (diff)
downloadlua-language-server-103d77b9789d0e9d420479dd7b746827ce79e3da.zip
cleanup
Diffstat (limited to 'script/vm/local-id.lua')
-rw-r--r--script/vm/local-id.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/local-id.lua b/script/vm/local-id.lua
index 1566e8f3..75251095 100644
--- a/script/vm/local-id.lua
+++ b/script/vm/local-id.lua
@@ -137,7 +137,7 @@ function m.compileLocalID(source)
end
---@param source parser.object
----@return string|boolean
+---@return string?
function m.getID(source)
if source._localID ~= nil then
return source._localID