diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-12-13 19:35:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-12-13 19:35:43 +0800 |
commit | ed97a9e8905fdbb3b23694896c813cfdb73cd91f (patch) | |
tree | c141f67e98571dffed743172548748a383437eed /test/type_inference | |
parent | 73f8157c96d2551d7cfc3e2b1868a792095eec03 (diff) | |
download | lua-language-server-ed97a9e8905fdbb3b23694896c813cfdb73cd91f.zip |
redesign
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index ab7404e2..cabff606 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -1767,6 +1767,17 @@ end print(<?x?>) ]] +TEST 'boolean' [[ +local x +x = true +function XX() + do + x = 1 + end +end +print(<?x?>) +]] + TEST 'integer?' [[ ---@type integer? local <?x?> |