VSCode-EmmyLua icon indicating copy to clipboard operation
VSCode-EmmyLua copied to clipboard

函数提示信息和函数实际信息不一致

Open jieshitianshi opened this issue 8 months ago • 0 comments

---@class A
local m = {}

---@overload fun(msgId:number, buffer:string)
---@overload fun(msgId:number)
---@param msgId number
---@param buffer string
---@param len number
function m:SendMsg(msgId, buffer, len) end

---@class B
local n = {}

function n:test()
    local t = m
    t:SendMsg(1, "")
end

n:test中,t:SendMsg的鼠标提示和m:SendMsg的实际信息不一致

jieshitianshi avatar Jun 30 '25 07:06 jieshitianshi