I manage to get the compiler to spew this. ```e: o...
# compiler
d
I manage to get the compiler to spew this.
Copy code
e: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'usingConnection' into
I can reproduce it in my project but I'm having trouble making a self-contained reproducer. I would publish the project but the contents are personal/sensitive (My access tokens are hard coded). What to do? I fix the error when I stop taking advantage of contracts in suspend methods.
Copy code
// Breaks compiler
val value: String
withContext(...) {
    value = loadFromDb()
}
println(value)

// Doesn't break
val value: String = withContext(...) {
    loadFromDb()
}
println(value)
Kotlin/JVM 1.3.72