34267e436e
This also fixes weird suppressions in user code: instead of
«@Suppress("DEPRECATED_SYMBOL_WITH_MESSAGE")» you should now use
«@Suppress("DEPRECATION")»
12 lines
314 B
Kotlin
Vendored
12 lines
314 B
Kotlin
Vendored
@Deprecated(<error>)</error>
|
|
fun foo() {}
|
|
@Deprecated(<error>false</error>)
|
|
fun boo() {}
|
|
|
|
fun far() = <warning descr="[DEPRECATION] 'foo(): Unit' is deprecated. ">foo</warning>()
|
|
|
|
fun bar() = <warning descr="[DEPRECATION] 'boo(): Unit' is deprecated. ">boo</warning>()
|
|
|
|
// NO_CHECK_INFOS
|
|
// NO_CHECK_WEAK_WARNINGS
|