Merge two deprecation diagnostics into one DEPRECATION
This also fixes weird suppressions in user code: instead of
«@Suppress("DEPRECATED_SYMBOL_WITH_MESSAGE")» you should now use
«@Suppress("DEPRECATION")»
This commit is contained in:
committed by
Andrey Breslav
parent
c817949221
commit
34267e436e
@@ -4,6 +4,6 @@ annotation class obsolete()
|
||||
@Deprecated("text")
|
||||
annotation class obsoleteWithParam(val text: String)
|
||||
|
||||
@<!DEPRECATED_SYMBOL_WITH_MESSAGE!>obsolete<!> class Obsolete
|
||||
@<!DEPRECATION!>obsolete<!> class Obsolete
|
||||
|
||||
@<!DEPRECATED_SYMBOL_WITH_MESSAGE!>obsoleteWithParam<!>("text") class Obsolete2
|
||||
@<!DEPRECATION!>obsoleteWithParam<!>("text") class Obsolete2
|
||||
|
||||
Reference in New Issue
Block a user