estevanfick
07/11/2024, 5:44 PMe: org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering
File being compiled: /com/x/x/x/x/x/x/RandomLayout.kt
The root cause java.lang.AssertionError was thrown at: org.jetbrains.kotlin.ir.util.IrUtilsKt.copyValueParametersToStatic(IrUtils.kt:960)
.....
Caused by: java.lang.AssertionError: Dispatch receiver type RandomLayout is not a subtype of com.x.CardLayout<com.x.DashboardCard>
at org.jetbrains.kotlin.ir.util.IrUtilsKt.copyValueParametersToStatic(IrUtils.kt:960)
I don't even know where to startdmitriy.novozhilov
07/12/2024, 5:40 AMestevanfick
07/12/2024, 11:04 AMdmitriy.novozhilov
07/12/2024, 11:07 AMCardAmbientCareGiverLayout.kt
is composable?estevanfick
07/12/2024, 11:08 AMdmitriy.novozhilov
07/12/2024, 11:08 AMestevanfick
07/12/2024, 11:09 AMcompose-compiler = "1.5.14"
compose-bom = "2024.05.00"
kotlin = "1.9.24"
estevanfick
07/12/2024, 11:10 AMdmitriy.novozhilov
07/12/2024, 11:11 AM2.0.0
(or even with 2.0.10-RC
)?
If your project isn't compatible with 2.0.0 you can update the version of the compiler and set languageVersion
to 1.9
dmitriy.novozhilov
07/12/2024, 11:12 AMestevanfick
07/12/2024, 11:14 AMdmitriy.novozhilov
07/12/2024, 11:17 AMestevanfick
07/12/2024, 12:01 PMdmitriy.novozhilov
07/12/2024, 12:36 PMestevanfick
07/12/2024, 12:37 PMdmitriy.novozhilov
07/12/2024, 12:38 PMestevanfick
07/12/2024, 12:38 PMdmitriy.novozhilov
07/12/2024, 12:42 PMCardAmbientCareGiverLayout.kt
file and declarations are used in it
3. delete parts of this file until the issue reproduces
4. replace bodies of used declarations with TODO()
and renaming classes/functions to some generic stuff to increase privacyestevanfick
07/12/2024, 12:59 PMdmitriy.novozhilov
07/12/2024, 1:05 PMdmitriy.novozhilov
07/12/2024, 1:06 PMdmitriy.novozhilov
07/12/2024, 1:08 PMestevanfick
07/12/2024, 1:12 PMdmitriy.novozhilov
07/12/2024, 1:12 PMdmitriy.novozhilov
07/12/2024, 1:24 PMshikasd
07/12/2024, 2:35 PM