Is there any plan like `suppress keyword` for `@De...
# language-proposals
w
Is there any plan like
suppress keyword
for
@Deprecated
? e.g.
Copy code
@Depreated("message", suppressKeyword = "FOO")
fun foo() {
}

fun bar() {
   @Suppress("FOO")
   foo()
}
i
Perhaps, opt-in requirement annotations is what you're looking for? https://github.com/Kotlin/KEEP/blob/master/proposals/experimental.md
w
Oh, it seems good! I'll check it out later. Thanks!