Open
Description
It would be great if I can override fields, not just shadow them, to retain their signature and doc.
---@class (exact) A
local a = {}
---Test Comment
---@param test string Some argument
function a:Method(test) end
---@class (exact) B : A
local b = {}
function b:Method(test) end
---@type B
local test
test:Method("") -- Annotations are gone
The signature wont change for overridden methods, and thus I would like to avoid copy pasting the whole doc for each method. How would I resolve this efficiently?
Metadata
Metadata
Assignees
Labels
No labels