mboudraa
05/10/2021, 7:55 PMe: Compilation failed: IrTypeAliasSymbol expected: Unbound public symbol for public kotlinx.coroutines/CancellationException|null[0]
* Source files:
* Compiler version info: Konan: 1.5 / Kotlin: 1.5.0
* Output kind: STATIC_CACHE
e: java.lang.IllegalStateException: IrTypeAliasSymbol expected: Unbound public symbol for public kotlinx.coroutines/CancellationException|null[0]
https://kotlinlang.slack.com/archives/C3PQML5NU/p1620671651034400sergey.bogolepov
05/11/2021, 7:03 AMmboudraa
05/11/2021, 1:14 PMsergey.bogolepov
05/12/2021, 5:59 AM./gradlew dependencies
and check that all versions of kotlinx-coroutines in direct and transitive dependencies are either 1.4.3 (and earlier) or 1.5.0-rc.John O'Reilly
05/17/2021, 4:44 PM1.5.0-native-mt
version and do see this for transitive dependencies....but I guess there could still be some in compatibility?
org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3-native-mt -> 1.5.0-native-mt
John O'Reilly
05/17/2021, 4:46 PMktor
for example still depends on 1.4.3-native-mt
)Jeff Lockhart
05/18/2021, 1:44 AMsergey.bogolepov
05/18/2021, 7:24 AMCancellationException
as class), but missing in 1.5.0-rc (because CancellationException
is now typealias to another declaration), so forcing dependency won't help here. Linker can't find "`CancellationException` as class" in the set of dependencies, because only one version of library (the latest one) is passed to the compiler from Gradle.John O'Reilly
05/18/2021, 7:25 AMsergey.bogolepov
05/18/2021, 7:34 AMJohn O'Reilly
05/18/2021, 8:21 AMEvan
06/07/2021, 10:56 PM