Support version kind for RequireKotlin

#KT-20584 Fixed
This commit is contained in:
Alexander Udalov
2017-10-09 19:25:27 +02:00
parent 4532f7556c
commit a96861c353
13 changed files with 538 additions and 33 deletions
@@ -3,16 +3,16 @@ package test
import kotlin.internal.RequireKotlin
@RequireKotlin("1.1", "message", DeprecationLevel.WARNING, 42)
@RequireKotlin("1.1", "message", DeprecationLevel.WARNING, errorCode = 42)
class Klass
class Konstructor @RequireKotlin("1.1", "message", DeprecationLevel.WARNING, 42) constructor()
class Konstructor @RequireKotlin("1.1", "message", DeprecationLevel.WARNING, errorCode = 42) constructor()
@RequireKotlin("1.1", "message", DeprecationLevel.WARNING, 42)
@RequireKotlin("1.1", "message", DeprecationLevel.WARNING, errorCode = 42)
typealias Typealias = String
@RequireKotlin("1.1", "message", DeprecationLevel.WARNING, 42)
@RequireKotlin("1.1", "message", DeprecationLevel.WARNING, errorCode = 42)
fun function() {}
@RequireKotlin("1.1", "message", DeprecationLevel.WARNING, 42)
@RequireKotlin("1.1", "message", DeprecationLevel.WARNING, errorCode = 42)
val property = ""