DEPRECATED_ERROR supported
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
@Deprecated("alas", level = DeprecationLevel.ERROR)
|
||||
fun foo() {}
|
||||
|
||||
@Deprecated("alas", level = DeprecationLevel.ERROR)
|
||||
class C
|
||||
|
||||
fun test(c: <!DEPRECATION_ERROR!>C<!>) {
|
||||
<!DEPRECATION_ERROR!>foo<!>()
|
||||
<!DEPRECATION_ERROR!>C<!>()
|
||||
}
|
||||
Reference in New Issue
Block a user