diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-29 15:23:39 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-29 15:23:39 +0800 |
commit | 482b3f97443329ebb25b19c2a1152b7b6329a689 (patch) | |
tree | 7d84618a44c1f14fa34db0f98fd9dac2c7ae357d /server/src/core/global.lua | |
parent | 951a555ba103bf762f3332a734944c3931d86173 (diff) | |
download | lua-language-server-482b3f97443329ebb25b19c2a1152b7b6329a689.zip |
跟进诊断
Diffstat (limited to 'server/src/core/global.lua')
-rw-r--r-- | server/src/core/global.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/core/global.lua b/server/src/core/global.lua index ac1170a7..a8f5092d 100644 --- a/server/src/core/global.lua +++ b/server/src/core/global.lua @@ -8,10 +8,16 @@ function mt:compileVM(uri) end function mt:markSet(uri) + if not uri then + return + end self.set[uri] = true end function mt:markGet(uri) + if not uri then + return + end self.get[uri] = true end |