diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-01 18:16:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-01 18:16:12 +0800 |
commit | 0dae347da5874b59db867a9d318593f8534ab03b (patch) | |
tree | 76c0c365682b3a041de3baea4455519f9bd2e33b /test/type_inference | |
parent | d6a09457eefdb44425f99ac4d5ffcaa2c1b7b685 (diff) | |
download | lua-language-server-0dae347da5874b59db867a9d318593f8534ab03b.zip |
kick class extends
Diffstat (limited to 'test/type_inference')
-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 c211283a..578e75d4 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -562,3 +562,16 @@ local t for _, <?v?> in ipairs(t) do end ]] + +TEST 'E' [[ +---@class A +---@class B: A +---@class C: B +---@class D: C +---@class E: D +local m + +function m:f() + return <?self?> +end +]] |