diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-30 10:51:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-30 10:51:20 +0800 |
commit | 64efd65a7e8793a2e29ab922bceeacc6a2b03ee2 (patch) | |
tree | ad32e92ea6743a43e05d0569da08caad1718b169 /server/src/core/value.lua | |
parent | 1efd99b17b0c3b2f94fec5180a21bdeac08302dd (diff) | |
download | lua-language-server-64efd65a7e8793a2e29ab922bceeacc6a2b03ee2.zip |
整理代码
Diffstat (limited to 'server/src/core/value.lua')
-rw-r--r-- | server/src/core/value.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/core/value.lua b/server/src/core/value.lua index 7b79d2ab..5426815f 100644 --- a/server/src/core/value.lua +++ b/server/src/core/value.lua @@ -233,7 +233,7 @@ function mt:getDeclarat() return nil end -function mt:addInfo(tp, source, var) +function mt:addInfo(tp, source) if source and not source.start then error('Miss start: ' .. table.dump(source)) end @@ -247,7 +247,6 @@ function mt:addInfo(tp, source, var) self._info[uri][#self._info[uri]+1] = { type = tp, source = source or getDefaultSource(), - var = var, } return self end |