-
Notifications
You must be signed in to change notification settings - Fork 281
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
Error formatting type #1720
Labels
Comments
Could be somewhat related to this feature. |
Minimal config for reproduce:
Version 1.5.1 formats code without errors:
|
kitbellew
added a commit
to kitbellew/scalafmt
that referenced
this issue
Feb 22, 2020
kitbellew
added a commit
to kitbellew/scalafmt
that referenced
this issue
Feb 22, 2020
kitbellew
added a commit
to kitbellew/scalafmt
that referenced
this issue
Feb 22, 2020
kitbellew
added a commit
to kitbellew/scalafmt
that referenced
this issue
Feb 22, 2020
kitbellew
added a commit
that referenced
this issue
Feb 22, 2020
kitbellew
added a commit
that referenced
this issue
Feb 22, 2020
Thanks for fixing this 😄 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This template is a guideline, not a strict requirement.
Steps
When running
$ scripts/scalafmt unit-tests/src/test/scala/scala/scalanative/unsafe/TagSuite.scala
Given code like this:
Problem
Scalafmt errors
Scalafmt formats code like this:
No code change
Expectation
No errors.
I would like the formatted output to look like this:
Workaround
I've found that by writing the code like this the error goes away but no formatting occurs.
The text was updated successfully, but these errors were encountered: