summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-03-29 14:38:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-03-29 14:38:30 +0800
commit7fdff5fcd4625a238ab48a23a066c3e013d3ec0b (patch)
treeff346a2c486635106ba8b6bb082ba7948939b20a /test
parent3a761da3d574639aac1f7ef06b1976bf3f255ad3 (diff)
downloadlua-language-server-7fdff5fcd4625a238ab48a23a066c3e013d3ec0b.zip
fix #2037
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 13585790..51de9cd5 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -4261,3 +4261,10 @@ local b = 2;
local <?c?> = a / b;
]]
+
+TEST 'string' [[
+local a = '4';
+local b = '2';
+
+local <?c?> = a .. b;
+]]