Prohibit using DeprecatedSinceKotlin annotation without arguments
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
@Deprecated("")
|
||||
@DeprecatedSinceKotlin
|
||||
fun foo() {}
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
}
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
|
||||
@Deprecated("")
|
||||
@DeprecatedSinceKotlin
|
||||
@<!DEPRECATED_SINCE_KOTLIN_WITHOUT_ARGUMENTS!>DeprecatedSinceKotlin<!>
|
||||
fun foo() {}
|
||||
|
||||
fun test() {
|
||||
|
||||
Reference in New Issue
Block a user