diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-05 11:24:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-05 11:24:21 +0800 |
commit | cc7eb35294d2dd936bd133cafbca972f33db00f5 (patch) | |
tree | 3921a94035996b52bc5d49f3d776795a3e9de30f /test-beta/type_inference/init.lua | |
parent | abc9c7fa257ec7d26d491f1d5ef32cfb70bf4e49 (diff) | |
download | lua-language-server-cc7eb35294d2dd936bd133cafbca972f33db00f5.zip |
修正一个类型推断bug
Diffstat (limited to 'test-beta/type_inference/init.lua')
-rw-r--r-- | test-beta/type_inference/init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test-beta/type_inference/init.lua b/test-beta/type_inference/init.lua index 6f500f39..25f4a773 100644 --- a/test-beta/type_inference/init.lua +++ b/test-beta/type_inference/init.lua @@ -327,3 +327,7 @@ TEST 'table<string, number>' [[ ---@type table<string, number> local <?x?> ]] + +TEST 'table' [[ +self.<?t?>[#self.t+1] = {} +]] |