You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating a field and a function of the same name (they have different return types), the code completion popup only shows the Function and not the Field.
Sample Code:
`---@Class car @parent class
---@field public body body Retreive the nested body object
local car = {}
---get the body object
---@return string body
function car.body() end
Describe the bug
When creating a field and a function of the same name (they have different return types), the code completion popup only shows the Function and not the Field.
Sample Code:
`---@Class car @parent class
---@field public body body Retreive the nested body object
local car = {}
---get the body object
---@return string body
function car.body() end
---@Class body : car
local body = {}
--- Number of doors
---@return number
function body.doors() end
--- Style of car
---@return string
function body.style() end`
Expected behavior
I would expect when typing car.b - that the typeahead would show two options distinguished by the symbol for a function and field.
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: