summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-04-25 18:12:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-04-25 18:12:59 +0800
commitda4bc8f26bad8997cf82b8e3752eb6c197eb08fd (patch)
tree9a47098785d8f75641c800c43a044cb44d354e82 /test
parent7c66961eb580f5932d61c1419cdf3b14960496a8 (diff)
downloadlua-language-server-da4bc8f26bad8997cf82b8e3752eb6c197eb08fd.zip
stash
Diffstat (limited to 'test')
-rw-r--r--test/basic/linker.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/basic/linker.txt b/test/basic/linker.txt
index 86930dd1..5d3f54e8 100644
--- a/test/basic/linker.txt
+++ b/test/basic/linker.txt
@@ -102,3 +102,19 @@ local <!v!> = f(c)
'l2|@1'
'f|1|@1'
'f|1|#1'
+
+```
+---@generic T
+---@param p T
+---@return T
+local function f(p) end
+
+local <?r?> = f(<!k!>)
+```
+
+l:r
+s:1#1
+l:f#1
+dg:T
+l:f@1
+k