mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
In 1.3.31 I fixed Java interop for inline function with coroutines (TL;DR: when we need a state machine, generate two methods: one with normal name, and the other one with $$forInline suffix, for the inliner to use, just like inline suspend functions), however, I forgot a case with inline suspend function with inline suspend function parameter. In this case, the compiler a generated two functions, as needed, but, neither of them had a state-machine. This change adds the state-machine for the method with normal name. Note, that suspend inline functions with crossinline parameter, which are also supported by the change, did not cause incorrect behaviour, since until now they were generated as synthetic. #KT-31354 Fixed