Report custom diagnostic instead of symbol deprecation
For annotations that should be replaced with modifiers
This commit is contained in:
@@ -82,7 +82,6 @@ public annotation class Suppress(vararg val names: String)
|
||||
* backend.
|
||||
*/
|
||||
@Target(FUNCTION)
|
||||
@Deprecated("Use kotlin.tailrec instead", ReplaceWith("kotlin.tailrec"))
|
||||
@Retention(SOURCE)
|
||||
public annotation class tailRecursive
|
||||
|
||||
|
||||
@@ -50,7 +50,6 @@ public annotation class inline
|
||||
@Target(AnnotationTarget.VALUE_PARAMETER)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
@MustBeDocumented
|
||||
@Deprecated("Use 'crossinline' modifier instead of 'inlineOptions(InlineOption.ONLY_LOCAL_RETURN)'")
|
||||
public annotation class inlineOptions(vararg val value: InlineOption)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user