Skip to content

Formatter should fold long expression chain. #375

@Kuinox

Description

@Kuinox

Long expression chain like this:

import System.Console;

func max(a:int32, b:int32): int32 = if (a > b) a else if (a > b) a else if (a > b) a else if (a > b) a else if (a > b) a else if (a > b) a else if (a > b) a else if (a > b) a else if (a > b) a else b;

func main() {
    WriteLine(max(12, 34));
}

Should be wrapped by the formatter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttoolingTooling related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions