diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 14:44:13 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 14:44:13 +0800 |
commit | 73457819ac49560aaed802e455a743d136c76e6d (patch) | |
tree | 0478dd175948a6d69a0a20188bca0e1eabf0a8c6 /test/completion | |
parent | 2e57e65b6fa218d9de47473628940f8d2db43f79 (diff) | |
download | lua-language-server-73457819ac49560aaed802e455a743d136c76e6d.zip |
fix interface in nested table
Diffstat (limited to 'test/completion')
-rw-r--r-- | test/completion/init.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua index a44b4a08..676480f5 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -2053,6 +2053,22 @@ f({ } TEST [[ +---@class cc +---@field aaa number # a1 +---@field bbb number # a2 + +---@param x cc +local function f(x) end + +f({ + { + $ + } +}) +]] +(nil) + +TEST [[ ---@return string local function f() end |