Ian Lynagh
11/22/2022, 1:25 PM@Suppress("DEPRECATION")
anywhere
$ cat Test1.kt
@file:Suppress("DEPRECATION")
import foo.Bar
$ cat Test2.kt
package foo
@Deprecated(message = "Bar is deprecated")
interface Bar
$ kotlinc -Werror Test1.kt Test2.kt