https://kotlinlang.org logo
#compose
Title
# compose
b

Bruno_

10/27/2019, 6:12 PM
Where can I report a bug? there's nothing about compose in here https://source.android.com/setup/contribute/report-bugs
Copy code
interface Foo {
    fun foo() =
        Stream.of(null) // null or any object
            .map { it }
}
e: java.lang.IllegalStateException: Backend Internal error: Exception during code generation
also throws that error when using
Flowable.fromIterable
from rxJava
w

wasyl

10/27/2019, 6:17 PM
There’s Jetpack compose component on google’s issue tracker: https://issuetracker.google.com/issues?q=componentid:612128
1
❤️ 1
l

Leland Richardson [G]

10/27/2019, 6:46 PM
This is likely related to the ir compiler. Please report a big and I will forward it to the right people
n

Neal Sanche

10/27/2019, 7:43 PM
I also hit this IR exception very quickly on my project. I tried removing code for a while but couldn't track down why it was happening.
s

suhas

10/27/2019, 10:26 PM
What's IR ?
l

Leland Richardson [G]

10/27/2019, 10:39 PM
Intermediate representation. Jetbrains is rewriting their backend and I'm referring to that as "ir compiler". Compose relies on it so you might see bugs relating to it when using compose.
🙂 1
b

Bruno_

10/28/2019, 12:13 PM
Well in a new project I didn't get this error so in the end I haven't reported it
j

Jakub Valigura

10/29/2019, 9:02 AM
I had the same problem, you can check thsi thread https://kotlinlang.slack.com/archives/CJLTWPH7S/p1572008095406200
b

Bruno_

10/29/2019, 9:27 AM
@Jakub Valigura yeah but the nested ex was different
j

Jakub Valigura

10/29/2019, 10:38 AM
Yea I know but was also related to IR backend so maybe it will help 🙂
2 Views