diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-10-19 17:26:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-10-19 17:26:20 +0800 |
commit | f90a6366f4a4212e23612f17bffa506ffe25e030 (patch) | |
tree | 7501637fa4e0e4146673cbdca9ada8cde5bc1d08 /script-beta/core/definition.lua | |
parent | ee6e0c96e8f5d66d3cb81ef9641444564dea87b9 (diff) | |
download | lua-language-server-f90a6366f4a4212e23612f17bffa506ffe25e030.zip |
beta 支持 runtime.special
Diffstat (limited to 'script-beta/core/definition.lua')
-rw-r--r-- | script-beta/core/definition.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/core/definition.lua b/script-beta/core/definition.lua index 8c308aaf..f2177fc9 100644 --- a/script-beta/core/definition.lua +++ b/script-beta/core/definition.lua @@ -80,6 +80,9 @@ local function convertIndex(source) or source.type == 'boolean' or source.type == 'number' then local parent = source.parent + if not parent then + return + end if parent.type == 'setindex' or parent.type == 'getindex' or parent.type == 'tableindex' then |