Reject values of DeprecatedSince.. that are not parseable as a version
This commit is contained in:
+6
-6
@@ -1,27 +1,27 @@
|
||||
// !API_VERSION: 1.4
|
||||
|
||||
@Deprecated("")
|
||||
@DeprecatedSinceKotlin("", errorSince = "1.4")
|
||||
@DeprecatedSinceKotlin(errorSince = "1.4")
|
||||
class ClassCur
|
||||
|
||||
@Deprecated("")
|
||||
@DeprecatedSinceKotlin("", errorSince = "1.4")
|
||||
@DeprecatedSinceKotlin(errorSince = "1.4")
|
||||
fun funCur() {}
|
||||
|
||||
@Deprecated("")
|
||||
@DeprecatedSinceKotlin("", errorSince = "1.4")
|
||||
@DeprecatedSinceKotlin(errorSince = "1.4")
|
||||
val valCur = Unit
|
||||
|
||||
@Deprecated("")
|
||||
@DeprecatedSinceKotlin("", errorSince = "1.5")
|
||||
@DeprecatedSinceKotlin(errorSince = "1.5")
|
||||
class ClassNext
|
||||
|
||||
@Deprecated("")
|
||||
@DeprecatedSinceKotlin("", errorSince = "1.5")
|
||||
@DeprecatedSinceKotlin(errorSince = "1.5")
|
||||
fun funNext() {}
|
||||
|
||||
@Deprecated("")
|
||||
@DeprecatedSinceKotlin("", errorSince = "1.5")
|
||||
@DeprecatedSinceKotlin(errorSince = "1.5")
|
||||
val valNext = Unit
|
||||
|
||||
fun usage() {
|
||||
|
||||
Reference in New Issue
Block a user