diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-05 13:24:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-05 13:24:19 +0800 |
commit | cef2f9749c982d588eca71cdee8aed582b92539e (patch) | |
tree | 5c6a825ec8df689eede47f9579a8e2d26fbf2973 /server-beta/test/diagnostics/init.lua | |
parent | 9b7a246d397aff61bc29837c40a1317ff18c7887 (diff) | |
download | lua-language-server-cef2f9749c982d588eca71cdee8aed582b92539e.zip |
更新诊断实现
Diffstat (limited to 'server-beta/test/diagnostics/init.lua')
-rw-r--r-- | server-beta/test/diagnostics/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server-beta/test/diagnostics/init.lua b/server-beta/test/diagnostics/init.lua index 0c2b077f..524e9626 100644 --- a/server-beta/test/diagnostics/init.lua +++ b/server-beta/test/diagnostics/init.lua @@ -69,6 +69,12 @@ TEST [[ local <!x!> ]] +TEST [[ +local function x() +end +x() +]] + TEST([[ <!local function x() end!> @@ -145,6 +151,7 @@ local _ENV TEST [[ local x return x, function (<!x!>) + return x end ]] |