diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-05 14:50:16 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-05 14:50:16 +0800 |
commit | 60189b2603798bba46e0c0aefdbad575efebfcee (patch) | |
tree | 1a8894c7d32177428dcb268ab4bf3150d9e8eee6 /test | |
parent | d086077b0ecd351319504f3e0fcef9912c4fedb4 (diff) | |
download | lua-language-server-60189b2603798bba46e0c0aefdbad575efebfcee.zip |
fix #1267
Diffstat (limited to 'test')
-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 e2b42369..7fa6ec7c 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3350,3 +3350,10 @@ local s local test = t[n] local <?test2?> = t[s] --test and test2 are unknow ]] + +TEST 'table<number, boolean>' [[ +---@type table<number, boolean> +local t + +<?t?> = {} +]] |