diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-08-16 16:20:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-08-16 16:20:12 +0800 |
commit | 68f6df0181c8c5e499b571c0447af9203d3fd6d9 (patch) | |
tree | 6d44c1dfd98a57e01ca1482deb4cc8206ddb9c33 /test-beta/type_inference/init.lua | |
parent | 8fdeec14b4a90e1f15ed639ebc7b7b423e100424 (diff) | |
download | lua-language-server-68f6df0181c8c5e499b571c0447af9203d3fd6d9.zip |
整理代码
Diffstat (limited to 'test-beta/type_inference/init.lua')
-rw-r--r-- | test-beta/type_inference/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-beta/type_inference/init.lua b/test-beta/type_inference/init.lua index 7842316e..17a2ae5b 100644 --- a/test-beta/type_inference/init.lua +++ b/test-beta/type_inference/init.lua @@ -30,7 +30,7 @@ function TEST(wanted) files.setText('', newScript) local source = getSource(pos) assert(source) - local result = vm.getType(source) or 'any' + local result = vm.getType(source) assert(wanted == result) end end |