diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-27 00:42:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-27 00:42:31 +0800 |
commit | 92b2a185af2d31dd353ef8a7d57469ee9d584cb7 (patch) | |
tree | 6bf05537370f6aae25e956f927773e95ad229b07 /test/type_inference | |
parent | c50a20ddad4adb3e0f8ead37a2e6a9960fe3000d (diff) | |
download | lua-language-server-92b2a185af2d31dd353ef8a7d57469ee9d584cb7.zip |
resolve #1236 custom class can extends basic class
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 7b4185d7..4b745c0d 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3142,3 +3142,10 @@ for _ in _ do end print(<?s?>) ]] + +TEST 'A' [[ +---@class A: string + +---@type A +local <?s?> = '' +]] |