Help needed - I get an exception: org.jetbrains.ko...
# announcements
c
Help needed - I get an exception: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: wrong bytecode generated Boiled it down to that piece of code:
Copy code
fun s() = sequence<Unit> {
    suspend fun f() {
        let { f() }
    }
}
Anyone an idea how I need to replace/annotate
let
to get that up and running? (bug is in 1.4.0 and 1.4.10) - Thanks in advance!!!
a
This is https://youtrack.jetbrains.com/issue/KT-32153. Please rearrange your code to avoid the combination "recursive + suspend + local" function. For example, you can move the function to top level.
c
Thanks