diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-14 15:54:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-14 15:54:35 +0800 |
commit | bbd6f89a2a024e4b9fa7f7f1f5cd5564187c622b (patch) | |
tree | c95d327ef00296f346e7c7dba53a0450df329791 /test-beta/references/init.lua | |
parent | 0824ee5122f50b824bc677a8838b3e1d0102258e (diff) | |
download | lua-language-server-bbd6f89a2a024e4b9fa7f7f1f5cd5564187c622b.zip |
整理ref实现
Diffstat (limited to 'test-beta/references/init.lua')
-rw-r--r-- | test-beta/references/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua index 3cbb5ed8..04ca9936 100644 --- a/test-beta/references/init.lua +++ b/test-beta/references/init.lua @@ -204,6 +204,17 @@ t.x = 1 t[a.b.<?x?>] = 1 ]] +TEST [[ +local t +local <!f!> = t.<?f?> + +<!f!>() + +return { + <!f!> = <!f!>, +} +]] + --TEST [[ -----@class <!Class!> -----@type <?Class?> |