Skip to content

How to mark a class field as deprecated? #1953

Closed Answered by carsakiller
C3pa asked this question in Q&A
Discussion options

You must be logged in to vote

It appears that, currently, you can deprecate a literal table field:

local literal = {
    keepMe = 0,
    ---@deprecated
    old = 1,
    new = 2
}

But not a @field annotation

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@C3pa
Comment options

@C3pa
Comment options

Answer selected by C3pa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants