-
-
Notifications
You must be signed in to change notification settings - Fork 391
Open
Description
Functions that return multiple variables may have variables that are important or not. There should be a way to flag any return value as nodiscard.
---@return number index
---@return {number:string} list
---@nodiscardall
---@return number nonimportantvariable
function getREALLYImportantList()I suppose nodiscardall that marks any return above it to be important.
Maybe even @nodiscardabove would workout
Metadata
Metadata
Assignees
Labels
No labels