summaryrefslogtreecommitdiff
path: root/test/definition
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-17 14:15:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-17 14:15:18 +0800
commit50e027378a627146f891ee8c5b5e838096d6f334 (patch)
tree5ee266bd3cfee3d41899e23a29166d5cd569c58b /test/definition
parentf88826b4b752fcaa06c6a9242211659f86b6034d (diff)
downloadlua-language-server-50e027378a627146f891ee8c5b5e838096d6f334.zip
#306
Diffstat (limited to 'test/definition')
-rw-r--r--test/definition/bug.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/definition/bug.lua b/test/definition/bug.lua
index e7158848..9eafe302 100644
--- a/test/definition/bug.lua
+++ b/test/definition/bug.lua
@@ -146,3 +146,9 @@ t.<!f1!> = t.f2
print(t.<?f2?>)
]]
+
+TEST [[
+---@type string
+string.xx = ''
+string.xx:<?format?>()
+]]