diff options
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r-- | server/test/completion/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index f288af2a..5e9b303e 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -1173,3 +1173,14 @@ f($) kind = CompletionItemKind.EnumMember, } } + +TEST [[ +---@param x function | 'function () end' +function f(x) +end + +f(function () + $ +end) +]] +(nil) |