summaryrefslogtreecommitdiff
path: root/test-beta/type_inference/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-08-16 18:09:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-08-16 18:09:01 +0800
commit8d2199b3ec3d7b7a72c6e230f9d40c18f8c7477d (patch)
tree6cf8f0d99b7e07a6b6b6f7632112a96aaa9f479e /test-beta/type_inference/init.lua
parent80bedb8c86fdba72018d761b7d094cf6806f998f (diff)
downloadlua-language-server-8d2199b3ec3d7b7a72c6e230f9d40c18f8c7477d.zip
更新
Diffstat (limited to 'test-beta/type_inference/init.lua')
-rw-r--r--test-beta/type_inference/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-beta/type_inference/init.lua b/test-beta/type_inference/init.lua
index 17a2ae5b..626cee66 100644
--- a/test-beta/type_inference/init.lua
+++ b/test-beta/type_inference/init.lua
@@ -150,6 +150,10 @@ TEST 'string' [[
]]
TEST 'function' [[
+return ('x').<?sub?>
+]]
+
+TEST 'function' [[
<?x?> = ('x').sub
]]