diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-31 15:04:41 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-31 15:04:41 +0800 |
commit | 0c5c502806659c11b3edde1ceff6fbb5058aaf0f (patch) | |
tree | 3265a276f1f6ae18e750d8308c886b5f12253d87 /test | |
parent | ce0432a3cc09909d6a9c9c9886761a128d34c2ad (diff) | |
download | lua-language-server-0c5c502806659c11b3edde1ceff6fbb5058aaf0f.zip |
fix #1857
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 4fbefd48..5a9e1796 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -4199,3 +4199,12 @@ x.y = nil print(<?y?>) ]] + +TEST 'function' [[ +function X() + <?Y?>() +end + +function Y() +end +]] |