Skip to content

Commit 40c89a7

Browse files
Fix compilation error
1 parent 28e91e5 commit 40c89a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/cli/src/org/jetbrains/kotlin/cli/jvm/JvmRuntimeVersionsConsistencyChecker.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ object JvmRuntimeVersionsConsistencyChecker {
277277
val runtimeComponent = manifest?.mainAttributes?.getValue(KOTLIN_RUNTIME_COMPONENT_ATTRIBUTE)
278278
return when (runtimeComponent) {
279279
KOTLIN_RUNTIME_COMPONENT_MAIN ->
280-
FileKind.Runtime(manifest.getKotlinLanguageVersion(), isCoreComponent = false)
280+
FileKind.Runtime(manifest!!.getKotlinLanguageVersion(), isCoreComponent = false)
281281
KOTLIN_RUNTIME_COMPONENT_CORE ->
282-
FileKind.Runtime(manifest.getKotlinLanguageVersion(), isCoreComponent = true)
282+
FileKind.Runtime(manifest!!.getKotlinLanguageVersion(), isCoreComponent = true)
283283
null -> when {
284284
jarRoot.findFileByRelativePath(KOTLIN_STDLIB_MODULE) == null &&
285285
jarRoot.findFileByRelativePath(KOTLIN_REFLECT_MODULE) == null -> FileKind.Irrelevant

0 commit comments

Comments
 (0)