diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-05 15:21:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-05 15:21:17 +0800 |
commit | c0ee6e9d999918bc7599625feddbff6ba005c270 (patch) | |
tree | a68aeb030f47495c61a56e85683c2a4f89157f0d /test/type_inference | |
parent | 60189b2603798bba46e0c0aefdbad575efebfcee (diff) | |
download | lua-language-server-c0ee6e9d999918bc7599625feddbff6ba005c270.zip |
fix #1279
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 7fa6ec7c..a934a85d 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3357,3 +3357,10 @@ local t <?t?> = {} ]] + +TEST 'integer' [[ +---@type integer[]|A +local t + +local <?x?> = t[1] +]] |