Assume LV 1.6 ready for preview

^KTIJ-19253 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-07-29 10:38:47 +03:00
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)