Multiple return values with inline functions possible?
This is a question I have been thinking about a couple times, but my knowledge of the Kotlin compiler capabilities and the subsequent build tools (JVM, JS-Transpiler, …) is too little to find an answer. Maybe someone can shed some light on it.
The question revolves around the legendary feature of returning multiple values from a function call, which is, as it seems, not possible at the time for various reasons.
BUT … what if you’d do the following:
inline fun computePoint(whatever: SomeType):...