You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/CacheBuilder.kt
+3-3
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ internal fun KotlinLibrary.getAllTransitiveDependencies(allLibraries: Map<String
28
28
29
29
funtraverseDependencies(library:KotlinLibrary) {
30
30
library.unresolvedDependencies.forEach {
31
-
val dependency = allLibraries[it.path]!!
31
+
val dependency = allLibraries[it.path]?:return@forEach
32
32
if (dependency !in allDependencies) {
33
33
allDependencies += dependency
34
34
traverseDependencies(dependency)
@@ -102,8 +102,8 @@ class CacheBuilder(
102
102
} else {
103
103
if (cache ==null) externalLibrariesToCache += library
0 commit comments