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
@@ -19,6 +19,6 @@ class Iter2 {
|
||||
}
|
||||
|
||||
fun use() {
|
||||
for (x in <!DEPRECATED_SYMBOL_WITH_MESSAGE!>Iter()<!>) {}
|
||||
for (x in <!DEPRECATED_SYMBOL_WITH_MESSAGE, DEPRECATED_SYMBOL_WITH_MESSAGE!>Iter2()<!>) {}
|
||||
}
|
||||
for (x in <!DEPRECATION!>Iter()<!>) {}
|
||||
for (x in <!DEPRECATION, DEPRECATION!>Iter2()<!>) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user