diff --git a/idea/src/org/jetbrains/kotlin/idea/configuration/outdatedBundledCompilerNotification.kt b/idea/src/org/jetbrains/kotlin/idea/configuration/outdatedBundledCompilerNotification.kt index d7c8cb17446..74fb2e628e4 100644 --- a/idea/src/org/jetbrains/kotlin/idea/configuration/outdatedBundledCompilerNotification.kt +++ b/idea/src/org/jetbrains/kotlin/idea/configuration/outdatedBundledCompilerNotification.kt @@ -181,7 +181,7 @@ private fun createKotlinVersion(languageVersion: LanguageVersion): KotlinVersion private fun createKotlinVersion(versionStr: String): KotlinVersion? { if (versionStr == "@snapshot@") { - return KotlinVersion(Int.MAX_VALUE, Int.MAX_VALUE, 0) + return KotlinVersion(KotlinVersion.MAX_COMPONENT_VALUE, KotlinVersion.MAX_COMPONENT_VALUE, 0) } val regex = """(\d+)\.(\d+).*""".toRegex()