Open galsjel opened 3 years ago
---@alias MyTable table<string, fun(arg1:number, arg2:string)>
---@param a MyTable function test(a) end
2. Write function call with table using autofill ```lua test({ ["test"] = function() end -- does not auto fill here or know what type ["test"] is })
Autofill is not aware of value type.
No
This removes the capability of function parameter types when used as specified in the reproduction section.
I hate to pull the "use the fork" card, but you might have more luck on https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis until it's fixed here.
Environment(环境)
What are the steps to reproduce this issue?(重现步骤?)
---@param a MyTable function test(a) end
What happens?(出现什么问题?)
Autofill is not aware of value type.
What were you expecting to happen?(期望?)
Any logs, error output, etc?(有没有什么log, error输出?)
No
Any other comments?(其它说明)
This removes the capability of function parameter types when used as specified in the reproduction section.