Kotlin/kotlinx.coroutines

Code samples on Kotlin documentation page don't render comparison operators correctly

Closed this issue · 1 comments

The code sample for the Flow::any() operation on flows here is myFlow.any { it > 5 }, but the rendered html is just myFlow.any { it 5 } (see here), which is incorrect syntax. The > seems to be eaten by transformation to HTML it seems like.

The sample for Flow::all() has a <= here, which is also being rendered incorrectly here.

Filed a Dokka issue: Kotlin/dokka#4169