KMP Native: Backend Internal error: Exception during IR lowering
See original GitHub issueKotlin 1.4.30 and Kotest 4.4.0
It works with JVM, Android, Linux and Windows targets. But with some Apple targets it is failing. The project only have a shouldDo
function.
Stacktrace:
> Task :lib:linkDebugTestIosX64 FAILED
e: Compilation failed: Backend Internal error: Exception during IR lowering
File being compiled: /Users/runner/work/kotest/kotest/kotest-assertions/kotest-assertions-core/src/commonMain/kotlin/io/kotest/matchers/collections/decreasing.kt
The root cause java.lang.AssertionError was thrown at: org.jetbrains.kotlin.ir.overrides.FakeOverrideBuilderStrategy.fakeOverrideMember(IrOverridingUtil.kt:43)
* Source files:
* Compiler version info: Konan: 1.4.30 / Kotlin: 1.4.30
* Output kind: STATIC_CACHE
e: org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering
File being compiled: /Users/runner/work/kotest/kotest/kotest-assertions/kotest-assertions-core/src/commonMain/kotlin/io/kotest/matchers/collections/decreasing.kt
The root cause java.lang.AssertionError was thrown at: org.jetbrains.kotlin.ir.overrides.FakeOverrideBuilderStrategy.fakeOverrideMember(IrOverridingUtil.kt:43)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Why am I getting Backend Internal error: "Exception during IR ...
Why am I getting Backend Internal error: "Exception during IR lowering error" when using Jetpack Compose clickable-Modifier? Ask Question. Asked ...
Read more >Backend Internal error: Exception during IR lowering - YouTrack
After updating my android app project to new compose versions and implementing the new Material 3, I couldn't build the app because there's...
Read more >I keep getting "Backend Internal error: Exception during IR ...
I keep getting "Backend Internal error: Exception during IR lowering" when trying to serialize a data class to json string. : r/Kotlin.
Read more >Android Studio 2022.1.1 Closed Issues
Issue #249181181. Native breakpoints not working since Android Studio 2021.1.1 ... Compose with KMM - Backend Internal error: Exception during IR lowering ......
Read more >Compose - Kotlinlang Slack
my first day in compose so bear with me The… ... kotlin-native ... BackendException: Backend Internal error: Exception during IR lowering.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is a compiler bug. I narrowed it down to:
And reported it upstream: https://youtrack.jetbrains.com/issue/KT-44928
Nice, I was going to check it today 😃