Skip to content

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

Closed as not planned
@alex292

Description

@alex292

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsKDoc and API reference

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions