Skip to content

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

@jieshitianshi

Description

@jieshitianshi
---@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的实际信息不一致

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions