We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ProcLiteral
The formatter prefers foo { }, but ->{}; there is no space before and inside the {}. I would prefer if the latter is formatted into -> { }.
foo { }
->{}
{}
-> { }
The spaces are added when something else is present:
->{} ->{ 1 } ->(x : Int32) {} ->(x : Int32) { 1 } -> : Int32 {} -> : Int32 { 1 }
Ideally they should be something like this:
-> { } -> { 1 } ->(x : Int32) { } ->(x : Int32) { 1 } -> : Int32 { } -> : Int32 { 1 }
The text was updated successfully, but these errors were encountered:
I don't mind the shortened form. But I'm also okay with adding some white space.
Sorry, something went wrong.
Same goes for do:
do
->do end ->(x : Int32) do end -> : Int32 do end
Note that the space in the last example is mandatory because Int32do parses to something else entirely.
Int32do
Successfully merging a pull request may close this issue.
The formatter prefers
foo { }
, but->{}
; there is no space before and inside the{}
. I would prefer if the latter is formatted into-> { }
.The spaces are added when something else is present:
Ideally they should be something like this:
The text was updated successfully, but these errors were encountered: