Report custom diagnostic instead of symbol deprecation

For annotations that should be replaced with modifiers
This commit is contained in:
Denis Zharkov
2015-09-09 15:56:42 +03:00
parent c3cb6b62f4
commit 04483eb826
7 changed files with 23 additions and 9 deletions
-1
View File
@@ -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
-1
View File
@@ -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)
/**