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

for-expressions formatting #61

Open
PapyChacal opened this issue Oct 24, 2024 · 0 comments
Open

for-expressions formatting #61

PapyChacal opened this issue Oct 24, 2024 · 0 comments

Comments

@PapyChacal
Copy link
Collaborator

PapyChacal commented Oct 24, 2024

As discussed in:

for module <- modules yield module.verify()

is valid Scala, but @baymaks expressed a preference for some parenthesis:

for (module <- modules) yield module.verify()

Our formatter currently accepts both.
Let us find the settings to let the formatter enforce an agreed-upon style then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant