-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #416 from nsutcliffe/master
New maven coordinates for 2.0.0 release of Scalafmt
- Loading branch information
Showing
8 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
testlib/src/main/resources/scala/scalafmt/basicPost2.0.0.clean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@foobar("annot", { | ||
val x = 2 | ||
val y = 2 // y=2 | ||
x + y | ||
}) | ||
object a extends b with c { | ||
def foo[T: Int#Double#Triple, R <% String]( | ||
@annot1 | ||
x: Int @annot2 = 2, | ||
y: Int = 3 | ||
): Int = { | ||
"match" match { | ||
case 1 | 2 => | ||
3 | ||
case <A>2</A> => 2 | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
testlib/src/main/resources/scala/scalafmt/basicPost2.0.0.cleanWithCustomConf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@foobar("annot", { | ||
val x = 2 | ||
val y = 2 // y=2 | ||
x + y | ||
}) | ||
object a | ||
extends b | ||
with c { | ||
def foo[ | ||
T: Int#Double#Triple, | ||
R <% String | ||
]( | ||
@annot1 | ||
x: Int @annot2 = | ||
2, | ||
y: Int = 3 | ||
): Int = { | ||
"match" match { | ||
case 1 | 2 => | ||
3 | ||
case <A>2</A> => | ||
2 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters