diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-16 15:10:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-16 15:10:38 +0800 |
commit | 073afa589be41900e4881d755ba663d8718fffec (patch) | |
tree | 484d2c2b158cc8c77771e4c52674cc89beace0b4 /test | |
parent | 182b2b7ed8201f4528b177d66ce661dc91066365 (diff) | |
download | lua-language-server-073afa589be41900e4881d755ba663d8718fffec.zip |
fix #1213 change back to enum
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 8201f9d4..32a35fbd 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -2637,3 +2637,16 @@ else print(<?x?>) end ]] + +TEST 'B' [[ +---@class A +---@class B + +---@type A +local x + +---@type B +x = call(x) + +print(<?x?>) +]] |