h
?
l
I think you need to set a compiler flag, in your
build.gradle
:
Copy code
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
        kotlinOptions {
            freeCompilerArgs += '-XXLanguage:+NonParenthesizedAnnotationsOnFunctionalTypes'
        }
    }
h
Yeah... It worked \o/ Thanks
v
This is related to a kotlin bug that is fixed in
Kotlin 1.4
👍 1
Afaik, Compose doesn’t work with Kotlin 1.4 yet so you need to use that compiler flag shared above. This should change soon though.
r
Yes this is only temporary
👍🏼 1
h
@Vinay Gaba thanks for the details 🙌
🙌🏼 1