diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-30 00:52:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-30 00:52:49 +0800 |
commit | 27a141bb779c3e048b17b2d49071ac1f072662af (patch) | |
tree | 8354d44d13b51737b02105006cf36ece569d5d8f /test-beta/references/init.lua | |
parent | b5d452f3cc7315940e860a21c9bb15673e544d9c (diff) | |
download | lua-language-server-27a141bb779c3e048b17b2d49071ac1f072662af.zip |
暂存
Diffstat (limited to 'test-beta/references/init.lua')
-rw-r--r-- | test-beta/references/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua index 896997b6..6ba1f5e4 100644 --- a/test-beta/references/init.lua +++ b/test-beta/references/init.lua @@ -141,6 +141,16 @@ local obj = setmetatable({}, mt) print(obj.<?x?>) ]] +TEST [[ +local <?x?> +local function f() + return function () + return <!x!> + end +end +local <?y?> = f()() +]] + --TEST [[ -----@class <!Class!> -----@type <?Class?> |