Closed
Description
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Linux
What is the issue affecting?
Annotations, Type Checking, Completion
Expected Behaviour
---@class Cache<K, V>: {[K]: V}
---@field foo string
---@field bar fun(p1: integer)
---@type Cache<string, table>
local members = {}
print(members.<??>) ---> expected completion: `foo`, `bar`
Actual Behaviour
---@class Cache<K, V>: {[K]: V}
---@field foo string
---@field bar fun(p1: integer)
---@type Cache<string, table>
local members = {}
print(members.<??>) ---> nothing is suggested
Reproduction steps
- Copy reproduction sample
- Follow instructions
- Auto complete on
members.
Additional Notes
members
is typed correctly.
Log File
No response
Metadata
Metadata
Assignees
Labels
No labels