Tests, messages and infra for deprecated symbol reporting
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
||||
|
||||
class Data {
|
||||
deprecated("text")
|
||||
fun component1(): String = throw Exception()
|
||||
fun component2(): String = throw Exception()
|
||||
}
|
||||
|
||||
fun use() {
|
||||
val (<!DEPRECATED_SYMBOL_WITH_MESSAGE!>x<!>, y) = Data()
|
||||
}
|
||||
Reference in New Issue
Block a user