Didier Villevalois
06/04/2026, 2:03 PMktfmt on our code-bases with the kotlinLangStyle() (with the corresponding full .editorconfig from the docs/ directory). I observe some strange formatting as soon as I put a fluent call after a trailing lambda:
private fun someFunction1(): Flow<String> =
callbackFlow {
// ...
send("Hello")
// ...
}
.flowOn(<http://Dispatchers.IO|Dispatchers.IO>)
private fun someFunction2(): Flow<String> = callbackFlow {
// ...
send("Hello")
// ...
}
Is this expected or a bug?Youssef Shoaib [MOD]
06/04/2026, 2:31 PMDidier Villevalois
06/04/2026, 2:47 PMDidier Villevalois
06/04/2026, 2:48 PMphldavies
06/04/2026, 3:42 PMJacob Applin
06/05/2026, 1:14 AMDidier Villevalois
06/05/2026, 12:31 PM