https://kotlinlang.org logo
#coroutines
Title
# coroutines
e

elizarov

09/29/2018, 3:57 PM
📣
kotlinx.coroutines
version
0.30.0-eap13
for Kotlin
1.3.0-rc-57
(can be used from
1.3.0-rc-116
, too) & Kotlin/Native
0.9.2
a

alex009

09/29/2018, 4:44 PM
after update to
0.30.0-eap13
compilation to iOS failed with:
Copy code
error: compilation failed: null

 * Source files: MR.kt, EventType.kt, LiveClub.kt, LiveEvent.kt, LiveEventDetails.kt, LiveEventWithWeather.kt, LiveGender.kt, LiveListItem.kt, LiveResult.kt, LiveStage.kt, Weather.kt, LiveEventsRepository.kt, Constants.kt, LiveEventsApi.kt, LiveEventDetailsRequest.kt, WeatherRequest.kt, LiveEventDetailsResponse.kt, LiveEventListResponse.kt, MR.kt
 * Compiler version info: Konan: 0.9.2 / Kotlin: 1.3.0
 * Output kind: FRAMEWORK

exception: kotlin.KotlinNullPointerException
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.processVirtualCall(Devirtualization.kt:275)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:304)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:311)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:311)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:311)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:311)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.addInstantiatingClass(Devirtualization.kt:260)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.dfs(Devirtualization.kt:340)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.dfs(Devirtualization.kt:356)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.dfs(Devirtualization.kt:356)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.dfs(Devirtualization.kt:356)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.processVirtualCall(Devirtualization.kt:279)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:304)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:311)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:311)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.addInstantiatingClass(Devirtualization.kt:260)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.dfs(Devirtualization.kt:340)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.processVirtualCall(Devirtualization.kt:279)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:304)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:311)
	at org.jetbrains.kotlin.backend.konan.optimizations.Devirtualization$DevirtualizationAnalysis$InstantiationsSearcher.checkSupertypes(Devirtualization.kt:311)
...
on
0.26.1-rc-conf2
compilation is success 😞
e

elizarov

09/29/2018, 4:54 PM
Please report to #kotlin-native (you can turn off devirtualization)
4 Views