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

dagomni

05/04/2020, 4:28 PM
I guess until you implement support for Kotlin 1.4 it won't work, but I have to ask Is there any way to make Compose work with 1.4? 😛 I get this error, related to IR
java.lang.NoSuchMethodError: org.jetbrains.kotlin.ir.expressions.impl.IrBlockBodyImpl.<init>(IILkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
l

Leland Richardson [G]

05/04/2020, 5:04 PM
what gives you this error exactly?
s

shikasd

05/04/2020, 5:09 PM
you still need a custom compiler build to make compose work, so not sure how you can compile it with 1.4
d

dagomni

05/04/2020, 5:11 PM
I should mention that the build fails with this message, so it's not compiling
@Leland Richardson [G] I can post a stack trace from the Build Output but that's probably pointless
l

Leland Richardson [G]

05/04/2020, 5:34 PM
yeah sorry we won’t work with 1.4 right now. We are pretty much only compatible with the snapshot of kotlin that we are rebased with until we get the APIs we need properly upstreamed. This is being worked on right now and we are hopeful that the 1.4 release will be compatible with compose without any tweaks, but can’t make any promises
👍 1
2 Views