Any known issues using reflection with Compose, ke...
# compose
i
Any known issues using reflection with Compose, keep getting this simply just trying to get at a function name
c
Did you forgot to mention return type in your fun getRepos() ?
Specify String and see if it works.
m
Coroutines don’t work with Compose yet
😐 1
i
aha thanks guys yes makes sense if coroutines are broken reflecting on a suspend function might error it, will try that @Chintan Soni thanks
cheers @Manuel Vivo removing suspend solves it, suspend causes the issue thanks
m
This is because Compose uses the new Kotlin IR compiler 🙂 heard that coroutines support might be coming soon (no timeline on this though)
👍 3
a
kapt and some suspending code generation has issues in our current kotlinc version
👍 1
Some things work, suspend+inline usually doesn't
l
For additional context: We have been working on rebasing kotlinc with upstream master for quite some time now, which should make coroutines work, but there have been some changes made to the backend of the compiler that broke a lot of our plugin that we are working through right now with JetBrains.
👍 8