Show pre-released 1.5 version in configuration preferences

^KT-44116 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2021-01-12 08:56:36 +03:00
parent d53354057a
commit 032c64669c
4 changed files with 9 additions and 4 deletions
@@ -324,6 +324,9 @@ enum class LanguageVersion(val major: Int, val minor: Int) : DescriptionAware {
}
}
fun LanguageVersion.isStableOrReadyForPreview(): Boolean =
isStable || this == KOTLIN_1_5
interface LanguageVersionSettings {
fun getFeatureSupport(feature: LanguageFeature): LanguageFeature.State