[FIR] Fix kotlin version check in annotations
@RequireKotlin has more than one string parameter, so you need to check 'version' only
This commit is contained in:
committed by
teamcityserver
parent
3a22761d02
commit
ebf6ce133b
@@ -0,0 +1,12 @@
|
||||
package kotlin.io
|
||||
|
||||
import kotlin.internal.*
|
||||
|
||||
@<!INVISIBLE_REFERENCE!>RequireKotlin<!>(<!ILLEGAL_KOTLIN_VERSION_STRING_VALUE!>"1.x"<!>)
|
||||
class IllegalVersion()
|
||||
|
||||
@<!INVISIBLE_REFERENCE!>RequireKotlin<!>("1.2")
|
||||
class LegalMinimum()
|
||||
|
||||
@<!INVISIBLE_REFERENCE!>RequireKotlin<!>("1.2", versionKind = <!INVISIBLE_REFERENCE!>RequireKotlinVersionKind<!>.COMPILER_VERSION, message = "Requires newer compiler version to be inlined correctly.")
|
||||
class LegalStdLib()
|
||||
Reference in New Issue
Block a user