diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-07 17:23:07 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-07 17:23:07 +0800 |
commit | 07bdb57b7358bc62630c6cdaaacd68b151aa6d08 (patch) | |
tree | 875d13f9faee60b1de5eeeff31c050e0063de0dc /test/definition/table.lua | |
parent | ba6cecf5d9f233dbdcfe5b721e9794658f74e056 (diff) | |
download | lua-language-server-07bdb57b7358bc62630c6cdaaacd68b151aa6d08.zip |
#1192 don't search local in simple
use the methods provided by `local-id` to avoid wasting on `gets`
Diffstat (limited to 'test/definition/table.lua')
-rw-r--r-- | test/definition/table.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/definition/table.lua b/test/definition/table.lua index 66e71b0c..6dbe627c 100644 --- a/test/definition/table.lua +++ b/test/definition/table.lua @@ -33,17 +33,17 @@ t.<!x!> = 1 t.<?x?>() ]] -TEST [[ -local t -t[<!1!>] = 1 -t[<?1?>]() -]] +--TEST [[ +--local t +--t[<!1!>] = 1 +--t[<?1?>]() +--]] -TEST [[ -local t -t[<!true!>] = 1 -t[<?true?>]() -]] +--TEST [[ +--local t +--t[<!true!>] = 1 +--t[<?true?>]() +--]] TEST [[ local t |