summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-09 14:35:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-09 14:35:02 +0800
commit1efc05d573a33d2ed2f2bc43fb4142a450bbfa02 (patch)
tree85b74ecd60a1dfa4da8f94900d23f66d9f0f7a73 /test
parent49ed110bca2ee7d39311f1a973792748ad138437 (diff)
downloadlua-language-server-1efc05d573a33d2ed2f2bc43fb4142a450bbfa02.zip
incorrect type infer
Diffstat (limited to 'test')
-rw-r--r--test/hover/init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 9a30ab81..80f6009c 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1629,3 +1629,12 @@ a.<?b?> = 10 * 60
[[
global a.b: integer
]]
+
+TEST [[
+a.<?b?>.c = 1 * 1
+]]
+[[
+global a.b: {
+ c: integer,
+}
+]]