I’m getting this exception when I compile a multiplatform project to JS with Kotlin 1.5.30:
java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.collections.CollectionsKt___CollectionsKt.joinToString, parameter $this$joinToString
It also fails on 1.5.10 and 1.5.20. I haven’t tested it on other versions.
The JS target in my build.gradle.kts looks like this:
js(IR) {
nodejs()
useCommonJs()
binaries.library()
}
The full compiler log is here