Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatter should fold long expression chain. #375

Open
Kuinox opened this issue Jan 23, 2024 · 0 comments · May be fixed by #400
Open

Formatter should fold long expression chain. #375

Kuinox opened this issue Jan 23, 2024 · 0 comments · May be fixed by #400
Labels
enhancement New feature or request tooling Tooling related issues.

Comments

@Kuinox
Copy link
Member

Kuinox commented Jan 23, 2024

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.

@Kuinox Kuinox added enhancement New feature or request tooling Tooling related issues. labels Jan 23, 2024
@Kuinox Kuinox linked a pull request May 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tooling Tooling related issues.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant