Skip to content

No hints for table fields inside alias function #727

@lua-rocks

Description

@lua-rocks
---@class test_table
---@field aaa integer
---@field bbb string
---@field ccc string
---@field ddd function

---@alias test_fun fun(v:any, o:test_table): string

---@type test_fun
local f

f(2, {a}) -- expected hint: "aaa"

screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions