Assume LV 1.6 ready for preview
^KTIJ-19253 Fixed
This commit is contained in:
committed by
teamcityserver
parent
59dcef81f7
commit
2c9857b880
@@ -368,7 +368,7 @@ enum class LanguageVersion(val major: Int, val minor: Int) : DescriptionAware {
|
||||
}
|
||||
|
||||
fun LanguageVersion.isStableOrReadyForPreview(): Boolean =
|
||||
isStable || this == KOTLIN_1_5
|
||||
isStable || this == KOTLIN_1_6
|
||||
|
||||
fun LanguageVersion.toKotlinVersion() = KotlinVersion(major, minor)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user